public async Task <ActionResult <IEnumerable <PermissionTypeDto> > > Get() { var result = await _permissionTypeService.GetPermissionTypes(); return(Ok(result)); }
public async Task <ActionResult <IEnumerable <PermissionTypeDto> > > Get() { var result = await _permissionTypeService.GetPermissionTypes(null); return(StatusCode(result.StatusCode, result.HttpResponse)); }