public static AutomationDTO CreateTable1(AutomationDTO _dto) { try { int str = mapper.Update("Automation.CreateTable1", (object)"Testss"); resultDTO.isSuccess = true; } catch (Exception exception) { resultDTO.Message = exception.Message; resultDTO.isSuccess = false; } return(resultDTO); }
public static AutomationDTO DeleteSite(AutomationDTO _dto) { try { mapper.Delete("DeleteSite", _dto); resultDTO.isSuccess = true; } catch (Exception exception) { resultDTO.Message = exception.Message; resultDTO.isSuccess = false; } return(resultDTO); }
public static IList <AutomationDTO> SelectSiteList(AutomationDTO _dto) { return(mapper.QueryForList <AutomationDTO>("Automation.SelectSiteList", _dto)); }