public async Task <PhoneReplyRecord> CreatePhoneReplyRecord(PhoneReplyRecord PhoneReplyRecordInfo) { PhoneReplyRecordInfo.Id = await _repository.InsertAndGetIdAsync(PhoneReplyRecordInfo); return(PhoneReplyRecordInfo); }
public async Task <PhoneReplyRecord> DeletePhoneReplyRecord(PhoneReplyRecord PhoneReplyRecordInfo) { return(await _repository.UpdateAsync(PhoneReplyRecordInfo)); }