/// <summary> /// Returns a list of all Resources /// </summary> /// <returns>A list of all Resources(Entities)</returns> public IEnumerable <Resource> GetAllResources() { try { return(repo.GetAll()); } catch (Exception ex) { LogManager.Error(ex.Message); throw; } }
public IEnumerable <Resource> ResourceTest() { var repo = new ResourceRepo(); return(repo.GetAll()); }