| | |
| | | { |
| | | dto.Viscustomer = Viscustomer; |
| | | dto.Vistime = DateTime.Now; |
| | | if (!string.IsNullOrWhiteSpace(Viscustomer)) |
| | | { |
| | | |
| | | var cooperatecustomCustomerDTO = _cooperatecustomCustomerService.Get(Viscustomer); |
| | | if (cooperatecustomCustomerDTO != null) |
| | | { |
| | | dto.ViscustomerName = cooperatecustomCustomerDTO.Name; |
| | | } |
| | | } |
| | | } |
| | | |
| | | ViewData["customer"] = _cooperatecustomCustomerService.GetList(); |
| | | if (!string.IsNullOrWhiteSpace(Viscustomer)) |
| | | { |
| | | ViewData["customer"] = new List<CooperatecustomCustomerDTO>(); |
| | | } |
| | | else |
| | | { |
| | | ViewData["customer"] = _cooperatecustomCustomerService.GetList(); |
| | | } |
| | | |
| | | |
| | | |
| | | |