public CartController(ICartDomain CartDomain, IUow Uow) { try { this.Uow = Uow; this.CartDomain = CartDomain; Console.WriteLine("hi"); } catch (Exception ex) { Except exception = new Except(); exception.Message = ex.Message; Uow.Repository <Except>().Add(exception); } }
protected IRepository <U, V> GetRepository() { return(_uow.Repository <U, V>()); }