public AssetsLiabilitiesController() { assetsLiabilitiesB = new AssetsLiabilitiesB(); categoriesB = new CategoriesB(); subCategoriesB = new SubCategoriesB(); accountB = new AccountsB(); userB = new UsersB(); }
public SalesController() { categoriesB = new CategoriesB(); subCategoriesB = new SubCategoriesB(); accountB = new AccountsB(); userB = new UsersB(); saleB = new SalesB(); assetsLiabilitiesB = new AssetsLiabilitiesB(); clientsB = new ClientsB(); productsB = new ProductsB(); detailsB = new DetailsB(); invoicesB = new InvoicesB(); providersB = new ProvidersB(); }
public IHttpActionResult Get(int id) { IList <SubCategories> subCategories = null; SubCategoriesB subCategoriesB = new SubCategoriesB(); subCategories = subCategoriesB.GetByIdAll(id); if (subCategories == null) { Ok(false); } return(Ok(subCategories)); }
public CategoriesController() { categoriesB = new CategoriesB(); subCategoriesB = new SubCategoriesB(); }
public SubCategoriesController() { subCategoriesB = new SubCategoriesB(); }