public Object CalcOutgoingPrices() { String msg = "Start MvcApplication2.Areas.Prep.Controllers.F0Controller.CalcOutgoingPrices()."; RequestPackage rqp = RequestPackage.ParseRequest(Request.InputStream, Request.ContentEncoding); msg = SpecHead.CalcOutgoingPrices(rqp); return(msg); }
public Object Delete() { String msg = "MvcApplication2.Areas.Prep.Controllers.F0Controller.Delete(): "; RequestPackage rqp = RequestPackage.ParseRequest(Request.InputStream, Request.ContentEncoding); Guid sessionId = rqp.SessionId; Int32 specId; if (Int32.TryParse(rqp["id"] as String, out specId)) { msg += SpecHead.Delete(sessionId, specId); } else { msg += "Ошибка при разборе идентификатора спецификации."; } return(msg); }