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