public string EditStatus(int idStatus, int idCapture, int idUserType) { CaptureDAL dal = new CaptureDAL(); return(dal.EditStatus(idStatus, idCapture, idUserType)); }
public bool UpdateCapture(CaptureDTO capture) { CaptureDAL dal = new CaptureDAL(); return(dal.Update(capture)); }
public CaptureDTO GetCaptureById(int id) { CaptureDAL dal = new CaptureDAL(); return(dal.GetCaptureById(id)); }
public CaptureDTO SaveCapture(CaptureDTO capture) { CaptureDAL dal = new CaptureDAL(); return(dal.Save(capture)); }
public void DeactivateCapture(int id) { CaptureDAL dal = new CaptureDAL(); dal.Activate(id); }
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)); }
public List <CaptureDTO> GetCapturesFilter(int userTypeId, int userId) { CaptureDAL dal = new CaptureDAL(); return(dal.GetCaptures(userTypeId, userId)); }
public List <CaptureDTO> GetCaptures() { CaptureDAL dal = new CaptureDAL(); return(dal.GetCaptures()); }