Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public async Task Delete(string guid) { var qa = _qpRepository.Get(o => o.Guid == guid).First(); _qpRepository.Delete(qa); await _mongo.DeleteAsync <Reply>(o => o.PostGuid == guid); await _mongo.DeleteFileByPostGuidAsync(guid); _qpRepository.SaveChanges(); }