public ActionResult <CallViewModel> Update( [FromServices] ICallServices services, [FromBody] CallViewModel data ) { data.Validate(); if (data.Invalid) { return(BadRequest(data.Notifications)); } var call = services.UpdateCallPrice(data); return(Ok(call)); }