public int UpdateTaxSetup(TaxSetupDTO Record) { PayrollTaxSetup record = TaxSetupRequestFormatter.ConvertRespondentInfoFromDTO(Record); var response = _unitOfWork.TaxSetupRepository.Update(record); _unitOfWork.Save(); return(record.MasterId); }
public void InsertIntoTaxSetup(TaxSetupDTO Record) { PayrollTaxSetup Data = TaxSetupRequestFormatter.ConvertRespondentInfoFromDTO(Record); _unitOfWork.TaxSetupRepository.Create(Data); }