public TaskService(Application.Contracts.ITaskService taskService)
 {
     _taskService = taskService;
 }
 //todo: there is a better way to do IOC with WCF, but haven't got it working.
 public TaskService()
 {
     _taskService = ObjectFactory.GetInstance <Application.Contracts.ITaskService>();
 }