public async Task <JsonResult> StoreOpenningAsync(int StoreId) { int result = await StoreManager.AddStoreOpenningAsync(_context, StoreId); if (result > 0) { return(new JsonResult("ok")); } else { return(new JsonResult("error")); } }
public async Task <JsonResult> StoreOpenningAsync(int StoreId) { int result = await StoreManager.AddStoreOpenningAsync(_context, StoreId); if (result > 0) { return(new JsonResult("ok")); } else { return(new JsonResult("error")); } }