public virtual ResponseBase Delete(DbConnect con, TKey id)
        {
            ResponseBase resp = new ResponseBase(false, string.Empty);

            if (CrudRepo.SoftDelete(con, id))
            {
                resp.success = true;
                resp.message = "Data Deleted successfully.";
            }
            else
            {
                ModelBase mdl = new ModelBase();
                if (CrudRepo.Is_Child_Records_Exists)
                {
                    resp.errors.Add("Parent_child", mdl.GetLang("parent_delete_error"));
                }

                resp.message = "System Error :: DB";
            }

            if (resp.success == false)
            {
                resp.PushErrors(CrudRepo.Errors);
                resp.PushErrors(Errors);
                resp.PushErrors(ValidationErrors);
            }
            return(resp);
        }