public List <DataModels.WorkshopProfileModel> GetWorkshopsByNameAndCity([FromUri] string city, [FromUri] string name) { return(WorkshopProfileManager.GetWorkshopsByCityAndName(city, name)); }
public HttpResponseMessage CreateNewWorkshopProfile(DataModels.WorkshopProfileModel NewWorkshopProfileModel) { int userID = Token.GetUserIdFromRequestHeader(Request); return(WorkshopProfileManager.CreateNewWorkshopProfile(NewWorkshopProfileModel, userID)); }
public List <CityModel> GetCities() { return(WorkshopProfileManager.GetAllCities()); }