コード例 #1
0
 public async Task<IEnumerable<User>> GetGrantedUsersByTerm(GetOneTermInput input)
 {
     try
     {
         return await _termBll.GetGrantedUsersByTerm(input.Id);
     }
     catch (Exception ex)
     {
         ErrorStore.LogExceptionWithoutContext(ex);
     }
     return null;
 }
コード例 #2
0
 public async Task<GetOneTermOutput> GetOneTerm(GetOneTermInput input)
 {
     try
     {
         Term result = await _termBll.GetOneTerm(input.Id);
         return new GetOneTermOutput()
         {
             Term = result
         };
     }
     catch (Exception ex)
     {
         ErrorStore.LogExceptionWithoutContext(ex);
     }
     return new GetOneTermOutput();
 }