public IHttpActionResult Post(CreateSizeViewModel newModel) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } _service.Create(_mapper.Map <Size>(newModel)); return(Ok()); }