public async Task <HttpResponseMessage> AddStream([FromBody] StreamRequest request) { try { _swap.AddStream(request.ProjectId, request.Name); return(await Response()); } catch (Exception ex) { return(await ExResponse(ex)); } }
public async Task <HttpResponseMessage> AddStream([FromBody] StreamRequest request) { try { _swap.AddStream(request.ProjectId, request.Name); return(await Response()); } catch (Exception ex) { return(await ExResponse(ex)); } }