public override System.Web.Mvc.ActionResult AddTypeOfOutgoing(TypeOfOutgoing typeOfOutgoing) { var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AddTypeOfOutgoing); ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "typeOfOutgoing", typeOfOutgoing); AddTypeOfOutgoingOverride(callInfo, typeOfOutgoing); return(callInfo); }
public TypeOfOutgoing AddTypeOfOutgoing(TypeOfOutgoing typeOfOutgoing) { TypeOfOutgoing tempTypeOfAmount; try { tempTypeOfAmount = _financeManagerContext.TypeOfOutgoings.Add(typeOfOutgoing); _financeManagerContext.SaveChanges(); } catch (Exception ex) { tempTypeOfAmount = null; } return(tempTypeOfAmount); }
partial void AddTypeOfOutgoingOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, TypeOfOutgoing typeOfOutgoing);