package ar.edu.unrc.exa.dc.dose2016.riocuartobandasderock.main;

public class BandController {

}

@@ -62,37 +62,1330 @@
 n;%0A%0A
-public class BandController %7B%0A
+import java.util.LinkedList;%0Aimport java.util.List;%0A%0Aimport ar.edu.unrc.exa.dc.dose2016.riocuartobandasderock.dao.BandDAO;%0Aimport ar.edu.unrc.exa.dc.dose2016.riocuartobandasderock.model.Band;%0A%0Aimport spark.Request;%0Aimport spark.Response;%0A%0Apublic class BandController %7B%0A%09/***%0A%09 * This class implements the communication layer between the persistence and frontend. %0A%09 */%0A%0A%09private BandDAO bandDAO;%0A%09%0A%09/***%0A%09 * %0A%09 * @param bandPersistence%0A%09 */%0A%09public BandController(BandDAO bandPersistence)%7B%0A%09%09this.bandDAO = bandPersistence;%0A%09%7D%0A%09%0A%09/***%0A%09 * Missing implementation%0A%09 * @param req%0A%09 * @param res%0A%09 * @return%0A%09 */%0A%09public List%3CBand%3E getBands(Request req ,Response res)%7B%0A%09%09return new LinkedList%3CBand%3E();%0A%09%7D%0A%09%0A%09/***%0A%09 * Missing implementation%0A%09 * @param req%0A%09 * @param res%0A%09 * @return%0A%09 */%0A%09public Band getBand(Request req,Response res)%7B%0A%09%09return new Band();%0A%09%7D%0A%09%0A%09/***%0A%09 * Missing implementation%0A%09 * @param req%0A%09 * @param res%0A%09 * @return%0A%09 */%0A%09public Band createBand(Request req,Response res)%7B%0A%09%09return new Band();%0A%09%7D%0A%09%0A%09/***%0A%09 * Missing implementation%0A%09 * @param req%0A%09 * @param res%0A%09 * @return%0A%09 */%0A%09public Band updateBand(Request req,Response res)%7B%0A%09%09return new Band();%0A%09%7D%0A%09%0A%09/***%0A%09 * Missing implementation%0A%09 * @param req%0A%09 * @param res%0A%09 * @return%0A%09 */%0A%09public Boolean deleteBand(Request req,Response res)%7B%0A%09%09return false;%0A%09%7D
 %0A%7D%0A

Add structure of the BandController class. MISSING IMPLEMENTATIONS