Esempio n. 1
0
 public bool SaveBusinessUser(BusinessUser user)
 {
     using (var context = IdentityDb.Create())
     {
         context.BusinessUsers.Add(user);
         context.SaveChanges();
     }
     return true;
 }
Esempio n. 2
0
        public ActionResult EditCompany(BusinessUser company)
        {
            if (ModelState.IsValid)
            {

            }
            return View(company);
        }