public JsonResult List(long farmerId) { var safeList = Helper.SerializeObject(_safeOperationsRepo.GetByAccountId(farmerId, AccountTypesEnum.Clients)); return(Json(safeList)); }
public JsonResult List(long sellerId) { var safeList = Helper.SerializeObject(_safeOperationsRepo.GetByAccountId(sellerId, AccountTypesEnum.Sellers)); return Json(safeList); }