Example #1
0
        public async Task <ActionResult> GetPayroll()
        {
            var DTOList = await _repository.GetPayroll();

            if (DTOList == null)
            {
                return(NotFound());
            }
            return(Ok(DTOList));
        }