Ejemplo n.º 1
0
 public static IEnumerable<DAL.NotesList> NotesRecordsList(String TypeID, String RefID)
 {
     try
        {
        IRecordView2 objtext = new BALNotes();
        IEnumerable<DAL.NotesList> listRecord = (IEnumerable<DAL.NotesList>)objtext.RecordList(TypeID, RefID);
        return listRecord;
        }
        catch (Exception ex)
        {
        throw;
        }
 }
Ejemplo n.º 2
0
 public static DAL.NotesList ViewNotes(String TypeID, String RefID)
 {
     try
        {
        IRecord2View objinter = new BALNotes();
        DAL.NotesList _notes = (NotesList)objinter.RecordView(TypeID, RefID);
        return _notes;
        }
        catch (Exception ex)
        {
        throw;
        }
 }
Ejemplo n.º 3
0
        public static Boolean CreateNotes(NotesDoc _notes)
        {
            Boolean flag = false;
               try
               {
               IRecordInsert objtext = new BALNotes();
               flag = objtext.AddRecord(_notes);
               }
               catch (Exception ex)
               {
               throw;
               }

               return flag;
        }