public HttpResponseMessage CreateList([FromBody] TodoListViewModel list) { try { var newList = EntityConvert <TodoListViewModel, TodoListModel>(list); _listService.Add(newList); return(Request.CreateResponse(HttpStatusCode.Created, newList)); } catch (Exception) { return(Request.CreateResponse(HttpStatusCode.InternalServerError)); } }