コード例 #1
0
 protected override void Given()
 {
     _request = new SavePortfolioRequest()
     {
         Name = "test"
     };
 }
コード例 #2
0
 protected override void Given()
 {
     _date    = DateTime.Today.ToString(DateFormat);
     _request = new SavePortfolioRequest()
     {
         Id       = 0,
         Name     = "test",
         OpenDate = _date
     };
 }
コード例 #3
0
        public IActionResult Save(SavePortfolioRequest model)
        {
            var result = _executionPipeline.Execute <SavePortfolioRequest, int>(model);

            return(Json(result, Helpers.Json.Serialization.Default()));
        }