public virtual ActionResult UpdateOutgoing([FromBody] Outgoing outgoing) { var tempOutgoing = outgoing; tempOutgoing.UserId = _idLoggedUser; return(Json(_outGoingService.UpdateOutgoing(tempOutgoing), JsonRequestBehavior.AllowGet)); }
public virtual ActionResult UpdateOutgoing([FromBody] Outgoing outgoing) { var tempOutgoing = outgoing; tempOutgoing.UserId = _idLoggedUser; return(Json(_outGoingService.UpdateOutgoing(tempOutgoing), JsonRequestBehavior.AllowGet)); }