public List <MaterialCategoryInfo> Get_Material_Category() { List <MaterialCategoryInfo> materialCategories = new List <MaterialCategoryInfo>(); VendorRepo vRepo = new VendorRepo(); materialCategories = vRepo.Get_Material_Category(); return(materialCategories); }
public List <VendorInfo> Get_Vendors(ref PaginationInfo pager) { List <VendorInfo> vendors = new List <VendorInfo>(); VendorRepo vRepo = new VendorRepo(); vendors = vRepo.Get_Vendors(ref pager); return(vendors); }
public StockyDataService() { if (Helpers.DBIdentification) { Stocky.DataAcesse.DataBase.DBConnection.Set("LocalHost", "Stocky"); } else { Stocky.DataAcesse.DataBase.DBConnection.Set(@"7TECH-SVR1", "Stocky_LIVE", "applogin", "728652Hotdog"); } StockRepo = new StockRepo(); TransactionRepo = new TransactionRepo(); AddressRepo = new AddressRepo(); CatergoryRepo = new CategoryRepo(); PersonRepo = new PersonRepo(); UserRepo = new UserRepo(); ValueRepo = new ValueBandRepo(); VendorRepo = new VendorRepo(); ValidationRepo = new ValidationRepo(); }
public HotelController() { _hRepo = new HotelRepo(); _vRepo = new VendorRepo(); }
public VendorController() { _vRepo = new VendorRepo(); }
//public List<ProductVendorInfo> Get_Product_Vendor_By_Id(int product_Vendor_Id) //{ // VendorRepo vRepo = new VendorRepo(); // return vRepo.Get_Product_Vendor_By_Id(product_Vendor_Id); //} public bool Check_Existing_Vendor(string vendor_Name) { VendorRepo vRepo = new VendorRepo(); return(vRepo.Check_Existing_Vendor(vendor_Name)); }
//public void Delete_Product_Service_By_Id(int product_Vendor_Id) //{ // VendorRepo vRepo = new VendorRepo(); // vRepo.Delete_Product_Service_By_Id(product_Vendor_Id); //} public List <AutocompleteInfo> Get_Vendor_AutoComplete(string vendor_Name) { VendorRepo vRepo = new VendorRepo(); return(vRepo.Get_Vendor_AutoComplete(vendor_Name)); }
public List <VendorInfo> Get_Vendors_By_Id(int vendor_Id, ref PaginationInfo pager) { VendorRepo vRepo = new VendorRepo(); return(vRepo.Get_Vendors_By_Id(vendor_Id, ref pager)); }
//public void Update_Product_Services(ProductVendorInfo productVendors) //{ // VendorRepo vRepo = new VendorRepo(); // vRepo.Update_Product_Services(productVendors); //} public VendorInfo Get_Vendor_By_Id(int vendor_Id) { VendorRepo vRepo = new VendorRepo(); return(vRepo.Get_Vendor_By_Id(vendor_Id)); }
//public int Insert_Product_Services(ProductVendorInfo productVendors) //{ // VendorRepo vRepo = new VendorRepo(); // return vRepo.Insert_Product_Services(productVendors); // } public void Update_Vendor(VendorInfo vendors) { VendorRepo vRepo = new VendorRepo(); vRepo.Update_Vendor(vendors); }
public void Update_Vendor_Central_Excise(VendorInfo vendors) { VendorRepo vRepo = new VendorRepo(); vRepo.Update_Vendor_Central_Excise(vendors); }
public void Update_Vendor_Other_Details(VendorInfo vendors) { VendorRepo vRepo = new VendorRepo(); vRepo.Update_Vendor_Other_Details(vendors); }
public int Insert_Vendor(VendorInfo vendor) { VendorRepo vRepo = new VendorRepo(); return(vRepo.Insert_Vendor(vendor)); }
public void Update_Vendor_Certificate(VendorInfo vendors) { VendorRepo vRepo = new VendorRepo(); vRepo.Update_Vendor_Certificate(vendors); }
public int Insert_Attribute_Code(AttributeCodeInfo attributeCode) { VendorRepo vRepo = new VendorRepo(); return(vRepo.Insert_Attribute_Code(attributeCode)); }