public IHttpActionResult ConciliacionManual([FromBody] ConciliacionModel details) { var control = details.PartidasConciliar.Count; if (control > 0) { var userName = User.Identity.GetUserId(); service.ConciliacionManual(details.PartidasConciliar, userName); return(Ok()); } else { return(BadRequest("Debe seleccionar partidas a conciliar.")); } }