public void Insert_List_Ubs() { service.AddRange(GetListUbs()); var atualInseridaUbs = service.GetUbs().ToList(); CollectionAssert.Equals(GetListUbs(), atualInseridaUbs); }
public IActionResult PostRange(List <UbsDTO> listUbs) { service.AddRange(listUbs); return(Ok()); }