public async Task Create(PictureCreate input) { var output = ObjectMapper.Map <Picture>(input); await _pictureManager.Create(output); await CurrentUnitOfWork.SaveChangesAsync(); }
public async Task Create(CreatePicture input) { Picture output = Mapper.Map <CreatePicture, Picture>(input); await _pictureManager.Create(output); }