public async Task <Unit> Handle(CreateAccountTypeCommand request, CancellationToken cancellationToken) { AccountType accountType = new AccountType { TypeName = request.AccountType.TypeName, Description = request.AccountType.Description, Interest = request.AccountType.Interest }; await _repository.Create(accountType); return(Unit.Value); }