//Add and Update requestToReopen

        public RequestToReopen AddandUpdateRequestToReopen(RequestToReopen requestToReopen)
        {
            RequestToReopen Appeal = new RequestToReopen();


            if (requestToReopen.Id == 0)
            {
                Appeal = _RequestToReopen.AddData(requestToReopen);
            }
            else
            {
                Appeal = _RequestToReopen.UpdateData(requestToReopen);
            }



            return(Appeal);
        }
示例#2
0
 public RequestToReopen AddandUpdateRequestToReopen(RequestToReopen requestToReopen)
 {
     return(_RequestToReopen.AddandUpdateRequestToReopen(requestToReopen));
 }