public RepositoryBase(SchoolmanContext context)
 {
     this.context = context;
     set          = context.Set <T>();
 }
        private async Task AddAndSaveAsync <T>(T entity) where T : class
        {
            await context.Set <T>().AddAsync(entity);

            await context.SaveChangesAsync();
        }