public virtual T Add(T entity) { var newEntity = _vsShopperContext.Set <T>().Add(entity); _vsShopperContext.SaveChanges(); return(newEntity.Entity); }