public ClientRepository() { _clients = new Clients(); _jsonDataFile = new JsonDataClient(_clients); _jsonDataFile.Initialise(); }
public List <Request> GetAll() { _jsonDataFile.Initialise(); return(_requests); }
public RequestRepository() { _requests = new Requests(); _jsonDataFile = new JsonDataRequest(_requests); _jsonDataFile.Initialise(); }