using resolve with CRUD as best practice