public ClientService()
 {
     _unitOfWork = new UnitOfWork(WebApiApplication.SessionFactory);
     _repository = new CoreRepository <Client>(WebApiApplication.GetCurrentSession());
 }