public static Ration GetGoodsById(int rationId) { return(RationDBManager.GetRationByID(rationId)); }
public static void DeleteRation(int rationId) { RationDBManager.DeleteRation(rationId); }
public static void InsertRation(string goodsName, int goodsCost, int goodsQuantity) { RationDBManager.InsertRation(goodsName, goodsCost, goodsQuantity); }
public static void UpdateRation(int goodsCost, int goodsQuantity, int goodsId) { RationDBManager.UpdateRation(goodsCost, goodsQuantity, goodsId); }
public static List <Ration> GetAllRation() { List <Ration> rlist = RationDBManager.GetAllRation(); return(rlist); }