public override Company Edit(long id, Company model)
        {
            var entity = companyRepo.Get(id);

            if (entity != null)
            {
                entity.Name = model.Name;
                return(companyRepo.Edit(entity));
            }

            return(model);
        }