public async Task <IActionResult> PostDrive([FromQuery] string driveName) { try { var response = _manager.AddServerDrive(driveName); return(Ok(response)); } catch (Exception ex) { return(ex.GetActionResult()); } }
public async Task <IActionResult> PostDrive([FromQuery] string driveName) { try { var response = _manager.AddServerDrive(driveName); return(Ok(response)); } catch (Exception ex) { return(ex.GetActionResult()); } }