예제 #1
0
        public ActionResult GetMyOffers(string TcNumber)
        {
            if (!ModelState.IsValid)
            {
                return(RedirectToRoute("TeklifAl"));
            }

            var offerList = _offerBusiness.GetCustomerOffers(TcNumber);

            TempData["OfferList"] = offerList;

            return(RedirectToRoute("Teklifler"));
        }
예제 #2
0
 public List <Offer> GetCustomerOffers(string TcNumber)
 {
     return(_offerBusiness.GetCustomerOffers(TcNumber));
 }