public async Task <IActionResult> RunUpdatePermissionForUser([FromRoute] string userId, [FromRoute] string fundingStreamId, [FromBody] FundingStreamPermissionUpdateModel fundingStreamPermissionUpdateModel) { Reference user = ControllerContext.HttpContext.Request.GetUser(); return(await _fundingStreamPermissionService.UpdatePermissionForUser(userId, fundingStreamId, fundingStreamPermissionUpdateModel, user)); }
public async Task <IActionResult> RunUpdatePermissionForUser([FromRoute] string userId, [FromRoute] string fundingStreamId) { return(await _fundingStreamPermissionService.UpdatePermissionForUser(userId, fundingStreamId, ControllerContext.HttpContext.Request)); }