/// <summary> /// Delete collection of borrowers /// </summary> /// <param name="entities"></param> public void RemoveRange(List <BorrowerDTO> entities) { try { // call repository method to delete collection of borrowers var selectedBorrowers = _mapper.Map <List <BorrowerDTO>, List <Borrower> >(entities); _repository.RemoveRange(selectedBorrowers); } catch (Exception ex) { throw ex; } }