예제 #1
0
        public ActionResult CreateQuote(IPQuotesModel model)
        {
            model.type = 0;
            var id = quoteService.Add(model);

            return(RedirectToAction("Quote", "IPQuote", new { id = id }));
        }
예제 #2
0
        public ActionResult CreateBilling(IPQuotesModel model)
        {
            model.type = 3;
            var id = quoteService.Add(model);

            return(RedirectToAction("Billing", "Billing", new
            {
                id = id
            }));
        }