Пример #1
0
        public IActionResult GetAll()
        {
            var entities = _dataAccessBaseServices.GetAll();

            if (entities.Count() > 0)
            {
                return(Ok(entities));
            }
            else
            {
                return(NoContent());
            }
        }