public static bool DeleteMedia(MediaModel param)
    {
        MediaModel cmedia = new MediaModel();

        if (cmedia.model_DeleteMedia(param))
        {
            removeFile(param);
        }
        return(true);
    }
    public static bool DeleteMedia(List <MediaModel> param)
    {
        MediaModel cmedia = new MediaModel();

        foreach (MediaModel m in param)
        {
            if (cmedia.model_DeleteMedia(m))
            {
                removeFile(m);
            }
        }

        return(true);
    }