Click here to Skip to main content
15,916,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
public CustomerGroupViewModel() : this(0) { }

public CustomerGroupViewModel(int customerGroupId)
{
_customerGroupService = new CustomerGroupService();

InitDefault(customerGroupId);

}

how can i call Interface Service in here

What I have tried:

private readonly ICustomerGroupService _customerGroupService;

i try to pass InterfaceService parameter in empty constructor but i cant. pls guide how can i call InterfaceService in here
Posted
Updated 14-Feb-16 19:32pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900