public async Task <int> Create(Company model)
        {
            do
            {
                model.Code = CodeGenerator.Generate();
            }while (this.DbSet.Any(d => d.Code.Equals(model.Code)));

            CompanyLogic.Create(model);
            return(await DbContext.SaveChangesAsync());
        }