public async Task <ActionResult> Delete(long id) { var charityModel = new CharityModel { Id = id }; await charityModel.Remove(_db, _queue); return(Ok()); }
public async Task <ActionResult> Delete(long donorId, Guid charityIdentifier) { var charityModel = new CharityModel { DonorId = donorId, CharityIdentifier = charityIdentifier }; await charityModel.Remove(_db); return(Ok()); }