//
        // GET: /Administration/MarketPrices/Delete/5
        public ActionResult Delete(int id)
        {
            try
            {
                MarketPriceService service = new MarketPriceService();
                service.Delete(id, SessionManager.UserInfo.PartnerId);

                // TODO: Add delete logic here

            }
            catch (Exception ex)
            {

            }
            return RedirectToAction("Restricted", "Dashboard");
        }
        public ActionResult Delete(int id, FormCollection collection)
        {
            try
            {
                MarketPriceService service = new MarketPriceService();
                service.Delete(id, SessionManager.UserInfo.PartnerId);

                // TODO: Add delete logic here

                return RedirectToAction("Restricted", "Dashboard");
            }
            catch
            {
                return View();
            }
        }