public void DeleteFarmSale(FarmSale cmd) { if (cmd == null) { throw new ArgumentNullException(nameof(cmd)); } _context.FarmSales.Remove(cmd); }
public void CreateFarmSale(FarmSale cmd) { if (cmd == null) { throw new ArgumentNullException(nameof(cmd)); } _context.FarmSales.Add(cmd); }
public void CreateFarmSale(FarmSale cmd) { //throw new NotImplementedException(); }
public void UpdateFarmSale(FarmSale cmd) { //Do nothing }