public HttpResponseMessage PostGenre(GenreDto genre) { ControllerFactory.GetGenreController().Create(genre); var response = Request.CreateResponse<GenreDto>(HttpStatusCode.Created, genre); return response; }
public void PutGenre(GenreDto genre) { ControllerFactory.GetGenreController().Update(genre); }