private object GetSiteAll(dynamic parameters) { IEnumerable <Site> sites = _siteRepository.All(); logManager.Write($"[GET]-> GetSiteAll Count: {sites.Count()}"); return(Response.AsJson(sites)); }
private object GetSiteAll(dynamic parameters) { IEnumerable <Site> sites = _siteRepository.All(); logManager.Write($"[GET]-> GetSiteAll Count: {sites.Count()}"); return(Response.AsJson(sites)); }