public bool Delete(Empresa entity)
        {
            var data = new InmDAL.Empresa
            {
                EmpresaId = entity.EmpresaId
            };
            var response = genericDal.Delete(data);

            return(response);
        }
        public bool Update(Empresa entity)
        {
            var data     = new InmDAL.Empresa();
            var response = genericDal.Update(data);

            if (response != null)
            {
                return(true);
            }
            return(false);
        }
        public int Add(Empresa entity)
        {
            var data = new InmDAL.Empresa
            {
                Nombre    = entity.Nombre,
                Domicilio = entity.Domicilio,
            };
            var response = genericDal.Add(data);

            return(response);
        }