public void deleteBrand(Guid id)
        {
            objKABrand = new CRM_KA_BrandRepository();

            CRM_KA_Brand Brand = objKABrand.GetSingle(x => x.id.Equals(id));

            objKABrand.Delete(Brand);
        }
        public CRM_KA_BrandModel getBrandById(Guid id)
        {
            objKABrand = new CRM_KA_BrandRepository();

            Mapper.CreateMap<CRM_KA_Brand, CRM_KA_BrandModel>();

            var entity = objKABrand.GetSingle(x => x.id.Equals(id));

            CRM_KA_BrandModel result = new CRM_KA_BrandModel();
            result = Mapper.Map(entity, result);

            return result;
        }