Created
November 29, 2016 16:43
-
-
Save GeorgeWL/f025fee788f1fedae492ff9e0f307f6c to your computer and use it in GitHub Desktop.
not working with 5 errors.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using System.Web.Mvc; | |
using Forest.Data; | |
using Forest.Services; | |
using Forest.Services.Service; | |
using Forest.Services.IService; | |
namespace Forest.Controllers | |
{ | |
public class MusicAdminController : Controller | |
{ | |
private IMusicService _musicService; | |
public MusicAdminController() | |
{ | |
_musicService = new MusicService(); | |
} | |
// GET: MusicAdmin | |
public ActionResult EditMusicRecording(int id) | |
{ | |
return View(_musicService.EditMusicRecording(id)); | |
} | |
} | |
// Errors commented in here | |
//Error 1 The best overloaded method match for 'Forest.Services.IService.IMusicService.EditMusicRecording(Forest.Data.Music_Recording)' has some invalid arguments F:\MyWork\Visual Studio 2013\Projects\Forest\Forest\Controllers\MusicAdminController.cs 23 25 Forest | |
//Error 2 Argument 1: cannot convert from 'int' to 'Forest.Data.Music_Recording' F:\MyWork\Visual Studio 2013\Projects\Forest\Forest\Controllers\MusicAdminController.cs 23 58 Forest | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment