Exemplo n.º 1
0
        public async Task <DelregistrationModel> SaveDealerRegistration(DelregistrationModel delregistrationModel)
        {
            await this.context.delregistrationModels.AddAsync(delregistrationModel);

            this.context.SaveChanges();

            return(delregistrationModel);
        }
Exemplo n.º 2
0
        public async Task <IActionResult> SaveDealerRegistration(DelregistrationModel delregistrationModel)
        {
            await this.repository.SaveDealerRegistration(delregistrationModel);

            return(Ok());
        }