public IActionResult deletePeople(int Id) { var personCrudService = new PersonCrudService(); personCrudService.deletePeople(Id); return(Ok(Id)); }
public void deletePeople() { personCrudService.deletePeople(55); Assert.IsNull(personCrudService.GetPersonById(55)); }