Exemplo n.º 1
0
        public BaseOutput DeleteCustomer(Int64 id, out tbl_Customer itemOut)
        {
            BaseOutput baseOutput;

            itemOut = null;
            try
            {
                tbl_Customer customer = operation.DeleteCustomer(id, 0);
                itemOut = customer;
                return(baseOutput = new BaseOutput(true, BOResultTypes.Success.GetHashCode(), BOBaseOutputResponse.SuccessResponse, ""));
            }
            catch (Exception ex)
            {
                return(baseOutput = new BaseOutput(false, BOResultTypes.Danger.GetHashCode(), BOBaseOutputResponse.DangerResponse, ex.Message));
            }
        }