Exemple #1
0
 public static bool AddImage(DocsFirstLevel docsEntities)
 {
     try
     {
         return(DocsFirstLevelDA.AddImage(docsEntities, CommonENT.MYCTSDBPROFILES_CONNECTION));
     }
     catch (Exception err) { return(false); }
 }
Exemple #2
0
        public static DocsFirstLevel getImageById(int imageId)
        {
            DocsFirstLevel docs = new DocsFirstLevel();

            try
            {
                docs = DocsFirstLevelDA.getImageById(imageId, CommonENT.MYCTSDBPROFILES_CONNECTION);
                return(docs);
            }
            catch { return(docs); }
        }
Exemple #3
0
        public static bool UpdateImage(DocsFirstLevel docsEntities)
        {
            bool success = false;

            try
            {
                DocsFirstLevelDA.UpdateImage(docsEntities, CommonENT.MYCTSDBPROFILES_CONNECTION);
                success = true;
                return(success);
            }
            catch { return(success); }
        }
Exemple #4
0
 public static List <DocsFirstLevel> getImageByProfileId(string profileId)
 {
     return(DocsFirstLevelDA.getImageByProfileId(profileId, CommonENT.MYCTSDBPROFILES_CONNECTION));
 }