コード例 #1
0
 public async Task <Portfolio> Save(PortfolioModel portfolio)
 {
     try
     {
         var portfolioDto = _mapper.Map <PortfolioModel, Portfolio>(portfolio);
         return(await _portfolioManager.Save(portfolioDto));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }