Esempio n. 1
0
        public ActionResult <UserReport> UserReport(string username)
        {
            var userActions = _userAccountActionsRepository.GetAllUserAccountActionsById(username);

            if (userActions == null)
            {
                return(BadRequest());
            }
            var report = _builder.CreateUserReport(username);

            return(Accepted(report));
        }