public virtual async Task DelTaskTemplate(int tenantId, int templateId) { using (CurrentUnitOfWork.SetTenantId(tenantId)) { await TemplateManager.DeleteAsync(new int[] { templateId }); } }
public async Task DeleteTemplate(IdInput <long> input) { await _templateManager.DeleteAsync(input.Id); }