Exemplo n.º 1
0
 public IHttpActionResult GroupsFromUser(string username)
 {
     return(CommonHelpers.ActionHelper.TryCatchWithLoggerGeneric(() =>
     {
         IReadOnlyCollection <DomainGroupModel> results = _security.GetGroupsFromUser(username);
         return Ok(results);
     }, _logger, LogCategories));
 }