protected override void Given() { _request = new SavePortfolioRequest() { Name = "test" }; }
protected override void Given() { _date = DateTime.Today.ToString(DateFormat); _request = new SavePortfolioRequest() { Id = 0, Name = "test", OpenDate = _date }; }
public IActionResult Save(SavePortfolioRequest model) { var result = _executionPipeline.Execute <SavePortfolioRequest, int>(model); return(Json(result, Helpers.Json.Serialization.Default())); }