コード例 #1
0
        public ActionResult Watch(string RepositoryName, string Username)
        {
            if (!Authenticate())
            {
                return(View("Login", GetBaseView("You need to authenticate before being able to watch a project")));
            }
            Core.Models.Repository repo = BaseAPI.Watch(Username, RepositoryName);

            return(View("Get", GetBaseView(repo)));
        }