/// <summary> /// Delete Company by CompanyID /// And delete all the campaigns and votes related to the company /// </summary> /// <param name="companyId"></param> /// <returns></returns> public async Task DeleteCompany(ObjectId companyId) { await companyRepository.Delete(companyId); await campaignRepository.DeleteAllByCompanyId(companyId); await voteRepository.DeleteAllByCompanyId(companyId); }