public bool InsertReceiptReceivingByStr2(IEnumerable <ReceiptReceiving> receiptReceivinglist, string name, string str2, out string msg) { //Response<GetShelvesByConditionResponse> response = new Response<GetShelvesByConditionResponse>() { Result = new GetShelvesByConditionResponse() }; msg = ""; bool IsSuccess = false; try { ReceiptManagementAccessor accessor = new ReceiptManagementAccessor(); //response.Result.ReceiptReceiving IsSuccess = accessor.InsertReceiptReceivingByStr2(receiptReceivinglist, name, str2); //response.IsSuccess = true; msg = ""; } catch (Exception ex) { msg = ex.Message.ToString(); //response.Exception = ex; //response.IsSuccess = false; } return(IsSuccess); }