public void DeleteBankManager() { BankManagerDao bankManagerDAO = new BankManagerDao(); BankManagerDto bankManagerDto = new BankManagerDto() { FirstName = "Serik", LastName = "Shulembekov", Email = "*****@*****.**", CreatedTime = DateTime.Now, ApplicationClientType = ApplicationClientType.BankManager, EntityStatus = EntityStatusType.IsActive, PasswordHash = "123", }; bankManagerDto.Id = ApplicationUserIdGenerator.GenerateUniqueId( bankManagerDto.FirstName, bankManagerDto.LastName, bankManagerDto.ApplicationClientType); bankManagerDAO.Create(bankManagerDto); bankManagerDAO.Remove(bankManagerDto.Id); Assert.IsNull(bankManagerDAO.Read(bankManagerDto.Id)); }
public void BankManagerDao_Read() { BankManagerDao dao = new BankManagerDao(); var result = dao.Read(); foreach (var item in result) { Debug.WriteLine(item.ToString()); } }
public void ReadBankManager() { BankManagerDao bankManagerDAO = new BankManagerDao(); var res = bankManagerDAO.Read(); foreach (var item in res) { Debug.WriteLine(item.ToString()); } }