swimming_pool/swimming_pool/Entities/Location_Service_Folder/Location_service.cpp
void Location_service::create_location (std::string name) const
{
    auto new_location = new Location;
    new_location->name = std::move(name);
    
    repository_.add(new_location);
}
/*
 * Function creates a new instance of location, sets name of the location
 *                     and passes the instance to the location repository
 */
Function creates a new instance of location, sets name of the location
and passes the instance to the location repository
Function creates a new instance of location sets name of the location and passes the instance to the location repository
void Location_service::create_location (std::string name) const
{
    auto new_location = new Location;
    new_location->name = std::move(name);
    repository_.add(new_location);
}
void Location_service :: create_location ( std :: string name ) const { auto new_location = new Location ; new_location -> name = std :: move ( name ) ; repository_ . add ( new_location ) ; }
Function creates a new instance of location, sets name of the location
                     and passes the instance to the location repository
Function creates a new instance of location sets name of the location and passes the instance to the location repository