Example #1
0
 public int Update(FileConfigurationDto fileConfig) => _fileRepo.Update(Mapper.Map <FileConfigurationDto, ClientFileConfiguration>(fileConfig));
Example #2
0
 public JsonResult Update([FromBody] FileConfigurationDto fileConfig) => Json(_fileService.Update(fileConfig));
Example #3
0
 public int Create(FileConfigurationDto fileConfig) => _fileRepo.Add(Mapper.Map <FileConfigurationDto, ClientFileConfiguration>(fileConfig));