public (IList <IPlatform>, ErrorResult) ReadAll() { (IList <IPlatform> allPlatforms, ErrorResult errorResult) = _repo.ReadAll(); if (errorResult != ErrorResult.None) { return(new List <IPlatform>(), errorResult); } return(allPlatforms, ErrorResult.None); }