Пример #1
0
        public async Task <IResponseOutput> AddMenuAsync(DocumentAddMenuInput input)
        {
            var entity = _mapper.Map <DocumentEntity>(input);
            var id     = (await _DocumentRepository.InsertAsync(entity)).Id;

            return(ResponseOutput.Ok(id > 0));
        }
Пример #2
0
 public async Task <IResponseOutput> AddMenu(DocumentAddMenuInput input)
 {
     return(await _documentServices.AddMenuAsync(input));
 }