// GET: api/Module public IEnumerable <DataModel.Module> Get() { BusinessProcess.ModuleManager mm = new BusinessProcess.ModuleManager(); var x = mm.GetAll().Count(); return(mm.GetAll()); }
public void Test_GetAll_Module_Data() { /*Initialize Data*/ BusinessProcess.ModuleManager mm = new BusinessProcess.ModuleManager(); var x = mm.GetAll().Count(); var y = mm.GetAll(); Console.WriteLine(x); Console.WriteLine(y); Console.WriteLine(mm.GetAll().Count()); }