Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public async Task <IActionResult> Activate(long permisssionId) { if (permisssionId == default(long)) { throw new BadRequestException("Invalid Permission"); } var result = await _permissionManager.Activate(permisssionId); return(Ok(new ResponseModel <bool> { RequestSuccessful = true, ResponseCode = ResponseCodes.Successful, ResponseData = result })); }