Пример #1
0
        public ActionResult AddWeight(int ClientID, int OrgaincWeight, int NonOrganicWeight, int ScheduleID, bool?IsSeparated)
        {
            int reqId =
                _db.AddWeight(ClientID, OrgaincWeight, NonOrganicWeight, ScheduleID, IsSeparated);
            int reqID = reqId;

            _db.AddPoints(ClientID, NonOrganicWeight, reqId);
            return(Ok(reqId));
        }