I have the following code and I am currently expericing - Controllers.BwicController' does not contain a definition for 'BwicController' and no extension method 'BwicController' accepting a first argument of type 'API_09Oct.Controllers.BwicController' could be found (are you missing a using directive or an assembly reference?) - error
public class UserController : ApiController { public void Get() { if (User.IsInRole("admin")) { var result = new BwicController(); result.BwicController(); } } }
Please advice.