public async Task <Result <int> > Handle(CreateExpenseCategoryCommand request, CancellationToken cancellationToken) { var expenseCategory = _mapper.Map <ExpenseCategory>(request); await _repository.InsertAsync(expenseCategory); await _unitOfWork.Commit(cancellationToken); return(Result <int> .Success(expenseCategory.Id)); }