コード例 #1
0
 public Task AddPainter(PainterDto painterDto)
 {
     return _paintersDataAccess.AddPainter(painterDto);
 }
コード例 #2
0
 public async Task<string> CreateNewPainter(PainterDto painterDto)
 {
     await _paintersRepository.AddPainter(painterDto);
     return "saved";
 }