public Status HandleBacklogDeleteRequest(string backlogId, int userId)
        {
            var status = _userRepo.DeleteUserBacklogId(userId, backlogId);

            if (status is Failure)
            {
                return(status);
            }

            _backlogrepo.DeleteBacklog(backlogId);

            return(new Success());
        }
Exemple #2
0
 public Status HandleBacklogDeleteRequest(string id)
 {
     _backlogrepo.DeleteBacklog(id);
     return(new Success());
 }