public List <Test> GetTests() { var tests = _testService.GetAll(); if (tests.Count == 0) { DefaultModels.Create(); return(_testService.GetAll()); } else { return(tests); } }
public List <Test> GetTests() { var tests = _testService.GetAll(); if (tests.Count == 0) { DefaultModels.Create(); return(_testService.GetAll()); } else { return(tests); } }