public async Task<IEnumerable<User>> GetGrantedUsersByTerm(GetOneTermInput input) { try { return await _termBll.GetGrantedUsersByTerm(input.Id); } catch (Exception ex) { ErrorStore.LogExceptionWithoutContext(ex); } return null; }
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(); }