Exemplo n.º 1
0
        public async static Task <PRO_tblStallDRO> DeleteStall(string username, string language_id, string stall_id_list, SYS_tblActionLogDTO actionLog)
        {
            PRO_tblStallDRO result = new PRO_tblStallDRO();

            try
            {
                string url = string.Format(@"{0}/DeleteStall?Username={1}&LanguageID={2}&StallIDList={3}", GetBaseUrl(), username, language_id, stall_id_list);

                result = await PRO_tblStallDAO.DeleteStall(url);

                if (string.IsNullOrEmpty(result.ResponseItem.Message))
                {
                    result.ResponseItem = await SYS_tblActionLogBUS.InsertUpdateLog(actionLog);
                }
            }
            catch (Exception ex)
            {
                logger.Error(ex);
                result.ResponseItem.Message = ex.Message;
            }

            return(result);
        }
Exemplo n.º 2
0
 public string DeleteStall(string stall_id, string stall_code, string username, string language_id)
 {
     return(daoStall.DeleteStall(stall_id, stall_code, username, language_id));
 }