public async Task <IActionResult> GetPermission(int id) { var permission = await _permissionBusiness.Get(id); var permissionsDTO = _mapper.Map <PermissionDTO>(permission); return(Ok(permissionsDTO)); }
public async Task <IActionResult> GetPermission(int id) { var permission = await _permissionBusiness.Get(id); var permissionsDTO = _mapper.Map <PermissionDTO>(permission); return(Ok(permissionsDTO)); }