public async Task <IResponseOutput> AddAsync(DictionaryAddInput input) { var dictionary = _mapper.Map <DictionaryEntity>(input); var id = (await _dictionaryRepository.InsertAsync(dictionary)).Id; return(ResponseOutput.Result(id > 0)); }
public async Task <IResponseOutput> Add(DictionaryAddInput input) { return(await _dictionaryServices.AddAsync(input)); }