Implemented create action for Locations endpoint.