Exemple #1
0
 public JsonResult Create(StoreModel model)
 {
     model.CreatedBy = _context.CurrentAccount.AccountId;
     model.CreatedOn = DateTime.Now;
     _storeFacade.Create(model);
     return(Json(new { success = true }));
 }