Esempio n. 1
0
        public IActionResult Get(int?page = null, int?paginateQuantity = null, string email = null, string name = null, string gender = null)
        {
            var users = _userService.Get(out int total, page, paginateQuantity, email, name, gender);

            if (_notification.Any())
            {
                return(BadRequest(_notification.GetErrors()));
            }

            return(Ok(new { total, users }));
        }