Example #1
0
        public string EditStatus(int idStatus, int idCapture, int idUserType)
        {
            CaptureDAL dal = new CaptureDAL();

            return(dal.EditStatus(idStatus, idCapture, idUserType));
        }
Example #2
0
        public bool UpdateCapture(CaptureDTO capture)
        {
            CaptureDAL dal = new CaptureDAL();

            return(dal.Update(capture));
        }
Example #3
0
        public CaptureDTO GetCaptureById(int id)
        {
            CaptureDAL dal = new CaptureDAL();

            return(dal.GetCaptureById(id));
        }
Example #4
0
        public CaptureDTO SaveCapture(CaptureDTO capture)
        {
            CaptureDAL dal = new CaptureDAL();

            return(dal.Save(capture));
        }
Example #5
0
        public void DeactivateCapture(int id)
        {
            CaptureDAL dal = new CaptureDAL();

            dal.Activate(id);
        }
Example #6
0
        public List <CaptureDTO> GetCapturesSearch(int userTypeId, int userId, int pState, int pSoupK, int pStatus)
        {
            CaptureDAL dal = new CaptureDAL();

            return(dal.GetCapturesSearch(userTypeId, userId, pState, pSoupK, pStatus));
        }
Example #7
0
        public List <CaptureDTO> GetCapturesFilter(int userTypeId, int userId)
        {
            CaptureDAL dal = new CaptureDAL();

            return(dal.GetCaptures(userTypeId, userId));
        }
Example #8
0
        public List <CaptureDTO> GetCaptures()
        {
            CaptureDAL dal = new CaptureDAL();

            return(dal.GetCaptures());
        }