// Processing the GetImage operation public ActionResult GetImage(FileManagerDirectoryContent args) { //Invoking GetImage operation with the required paramaters // path - Current path of the image file; Id - Image file id; return(operation.GetImage(args.Path, args.Id, false, null, null)); }
public async Task <IActionResult> GetImage([FromQuery] FileManagerDirectoryContent args) { return(opration.GetImage(args.Path, args.Id, true, null, null)); }