Skip to content

Instantly share code, notes, and snippets.

@rfaisal
Created January 14, 2014 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rfaisal/8420465 to your computer and use it in GitHub Desktop.
Save rfaisal/8420465 to your computer and use it in GitHub Desktop.
[RequireHttps]
[EnableCors(origins: "*", headers: "*", methods: "*")]
[Authorize]
[RoutePrefix("api/Account")]
public class AccountController : ApiController {/*class definition*/}
[RequireHttps]
[EnableCors(origins: "*", headers: "*", methods: "*")]
[Authorize]
public class ValuesController : ApiController {/*class definition*/}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment