Example #1
0
        public async Task <IActionResult> GetAll()
        {
            var genericList = (await _genericService.GetGenericToDisplayList()).ToList();

            return(new SharedResponseResult <IEnumerable <VMEntity> >(genericList, genericList.Count(), HttpStatusCode.OK, false, ""));
        }