Esempio n. 1
0
        public async Task <IResponseOutput> AddGroupAsync(DocumentAddGroupInput input)
        {
            var entity = _mapper.Map <DocumentEntity>(input);
            var id     = (await _DocumentRepository.InsertAsync(entity)).Id;

            return(ResponseOutput.Ok(id > 0));
        }
Esempio n. 2
0
 public async Task <IResponseOutput> AddGroup(DocumentAddGroupInput input)
 {
     return(await _documentServices.AddGroupAsync(input));
 }