public Post[] GetPostList(int offSet, int loadCount, bool withUsers, bool withComments) { DataAccesController Dac = new DataAccesController(); Post[] MyList = Dac.GetPostList(offSet, loadCount, withUsers, withComments).ToArray(); return(MyList); }
public SolvrService(bool useMockDB = false) { dbCtr = new DataAccesController(useMockDB); }