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() { IList <Categories> categories = null; CategoriesB categoriesB = new CategoriesB(); categories = categoriesB.GetAll(); if (categories == null) { Ok(false); } return(Ok(categories)); }
public CategoriesController() { categoriesB = new CategoriesB(); subCategoriesB = new SubCategoriesB(); }