public IHttpActionResult Get() { Services.CategoryService categoryService = CreateCategoryService(); var categories = categoryService.GetCategories(); return(Ok(categories)); }
static void ServiceTest() { Services.CategoryService service = new Services.CategoryService(); service.Start(DateTime.Now); }
static void ServiceTest() { Services.CategoryService service = new Services.CategoryService(); service.Start(DateTime.Now); }