Inheritance: System.Web.Mvc.JsonResult, IT4MVCActionResult
 public override System.Web.Mvc.JsonResult AutoComplete(string q, int limit, string timestamp) {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.AutoComplete);
     callInfo.RouteValueDictionary.Add("q", q);
     callInfo.RouteValueDictionary.Add("limit", limit);
     callInfo.RouteValueDictionary.Add("timestamp", timestamp);
     return callInfo;
 }
        public override System.Web.Mvc.JsonResult ByEmail(string email)
        {
            var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.ByEmail);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "email", email);
            return(callInfo);
        }
        public override System.Web.Mvc.JsonResult GenerateDisplayName(UCosmic.Www.Mvc.Areas.People.Models.GenerateDisplayNameForm model)
        {
            var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.GenerateDisplayName);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model);
            return(callInfo);
        }
        public override System.Web.Mvc.JsonResult AutoCompleteSuffixes(string term)
        {
            var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.AutoCompleteSuffixes);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "term", term);
            return(callInfo);
        }
Exemple #5
0
        public override System.Web.Mvc.JsonResult SavedGraph(string id)
        {
            var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.SavedGraph);

            callInfo.RouteValueDictionary.Add("id", id);
            return(callInfo);
        }
        public override System.Web.Mvc.JsonResult Flag(int id)
        {
            var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.Flag);

            callInfo.RouteValueDictionary.Add("id", id);
            return(callInfo);
        }
Exemple #7
0
 public override System.Web.Mvc.JsonResult AutoComplete(string q, int limit, string timestamp) {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.AutoComplete);
     callInfo.RouteValueDictionary.Add("q", q);
     callInfo.RouteValueDictionary.Add("limit", limit);
     callInfo.RouteValueDictionary.Add("timestamp", timestamp);
     return callInfo;
 }
Exemple #8
0
        public override System.Web.Mvc.JsonResult ValidateEmailAddress(UCosmic.Www.Mvc.Areas.Identity.Models.SignOverForm model)
        {
            var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.ValidateEmailAddress);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model);
            return(callInfo);
        }
        public override System.Web.Mvc.JsonResult LogAjaxError(UCosmic.Www.Mvc.Models.JQueryAjaxException model)
        {
            var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.LogAjaxError);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model);
            return(callInfo);
        }
Exemple #10
0
        public override System.Web.Mvc.JsonResult GetNamesByPrefix(string term)
        {
            var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.GetNamesByPrefix);

            callInfo.RouteValueDictionary.Add("term", term);
            return(callInfo);
        }
Exemple #11
0
        public override System.Web.Mvc.JsonResult ValidateNewPasswordConfirmation(UCosmic.Www.Mvc.Areas.Identity.Models.UpdatePasswordForm model)
        {
            var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.ValidateNewPasswordConfirmation);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model);
            return(callInfo);
        }
        public override System.Web.Mvc.JsonResult ByGuid(System.Guid guid)
        {
            var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.ByGuid);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "guid", guid);
            return(callInfo);
        }
 public override System.Web.Mvc.JsonResult AddComment(long articleId, string textComment, long? conversationId) {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.AddComment);
     callInfo.RouteValueDictionary.Add("articleId", articleId);
     callInfo.RouteValueDictionary.Add("textComment", textComment);
     callInfo.RouteValueDictionary.Add("conversationId", conversationId);
     return callInfo;
 }
        public override System.Web.Mvc.JsonResult GetLicense(string key)
        {
            var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.GetLicense);

            callInfo.RouteValueDictionary.Add("key", key);
            return(callInfo);
        }
Exemple #15
0
        public override System.Web.Mvc.JsonResult Put(UCosmic.Www.Mvc.Areas.Preferences.Models.MyPreference model)
        {
            var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.Put);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model);
            return(callInfo);
        }
        public override System.Web.Mvc.JsonResult ActionOnAll(bool everyOneOnline)
        {
            var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.ActionOnAll);

            callInfo.RouteValueDictionary.Add("everyOneOnline", everyOneOnline);
            return(callInfo);
        }
        public override System.Web.Mvc.JsonResult DeleteReport(int reportId, string securityToken)
        {
            var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.DeleteReport);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "reportId", reportId);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "securityToken", securityToken);
            return(callInfo);
        }
Exemple #18
0
        public override System.Web.Mvc.JsonResult Events(string start, string end)
        {
            var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.Events);

            callInfo.RouteValueDictionary.Add("start", start);
            callInfo.RouteValueDictionary.Add("end", end);
            return(callInfo);
        }
        public override System.Web.Mvc.JsonResult AutoCompleteUserName(string term, System.Collections.Generic.List <System.Guid> excludeUserEntityIds)
        {
            var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.AutoCompleteUserName);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "term", term);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "excludeUserEntityIds", excludeUserEntityIds);
            return(callInfo);
        }
        public override System.Web.Mvc.JsonResult ValidateDuplicateOption(string type, System.Collections.Generic.List <string> values)
        {
            var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.ValidateDuplicateOption);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "type", type);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "values", values);
            return(callInfo);
        }
        public override System.Web.Mvc.JsonResult Activate(string key, string machineId)
        {
            var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.Activate);

            callInfo.RouteValueDictionary.Add("key", key);
            callInfo.RouteValueDictionary.Add("machineId", machineId);
            return(callInfo);
        }
        public override System.Web.Mvc.JsonResult UserStatusChange(System.Guid id, bool isOnline)
        {
            var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.UserStatusChange);

            callInfo.RouteValueDictionary.Add("id", id);
            callInfo.RouteValueDictionary.Add("isOnline", isOnline);
            return(callInfo);
        }
        public override System.Web.Mvc.JsonResult WithLastName(string term, UCosmic.StringMatchStrategy matchStrategy)
        {
            var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.WithLastName);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "term", term);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "matchStrategy", matchStrategy);
            return(callInfo);
        }
Exemple #24
0
        public override System.Web.Mvc.JsonResult CounterCategories(string sd, string ed)
        {
            var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.CounterCategories);

            callInfo.RouteValueDictionary.Add("sd", sd);
            callInfo.RouteValueDictionary.Add("ed", ed);
            return(callInfo);
        }
        public override System.Web.Mvc.JsonResult JobsApplied(string userId, int applyCount)
        {
            var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.JobsApplied);

            callInfo.RouteValueDictionary.Add("userId", userId);
            callInfo.RouteValueDictionary.Add("applyCount", applyCount);
            return(callInfo);
        }
Exemple #26
0
        public override System.Web.Mvc.JsonResult AutoCompleteKeyword(string establishmentUrl, string term)
        {
            var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.AutoCompleteKeyword);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "establishmentUrl", establishmentUrl);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "term", term);
            return(callInfo);
        }
        public override System.Web.Mvc.JsonResult Draft(int number, UCosmic.Www.Mvc.Areas.Activities.Models.ActivityForm model)
        {
            var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.Draft);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "number", number);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model);
            return(callInfo);
        }
Exemple #28
0
        public override System.Web.Mvc.JsonResult Search(string id, string q)
        {
            var callInfo = new T4MVC_JsonResult(Area, Name, Actions.Search);

            callInfo.RouteValues.Add("id", id);
            callInfo.RouteValues.Add("q", q);
            return(callInfo);
        }
        public override System.Web.Mvc.JsonResult WireJson(DevBridge.Templates.WebProject.Tools.Mvc.WireJson data, System.Web.Mvc.JsonRequestBehavior behavior)
        {
            var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.WireJson);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "data", data);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "behavior", behavior);
            return(callInfo);
        }
        public override System.Web.Mvc.JsonResult WireJson(bool success, dynamic data, System.Web.Mvc.JsonRequestBehavior behavior)
        {
            var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.WireJson);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "success", success);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "data", data);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "behavior", behavior);
            return(callInfo);
        }
 public override System.Web.Mvc.JsonResult DynamicGridData(int page, int rows, string search, string sidx, string sord) {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.DynamicGridData);
     callInfo.RouteValueDictionary.Add("page", page);
     callInfo.RouteValueDictionary.Add("rows", rows);
     callInfo.RouteValueDictionary.Add("search", search);
     callInfo.RouteValueDictionary.Add("sidx", sidx);
     callInfo.RouteValueDictionary.Add("sord", sord);
     return callInfo;
 }
        public override System.Web.Mvc.JsonResult UpdateRoles(long id, System.Collections.Generic.IEnumerable <string> ids, System.Collections.Generic.IEnumerable <string> selids)
        {
            var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.UpdateRoles);

            callInfo.RouteValueDictionary.Add("id", id);
            callInfo.RouteValueDictionary.Add("ids", ids);
            callInfo.RouteValueDictionary.Add("selids", selids);
            return(callInfo);
        }
Exemple #33
0
        public override System.Web.Mvc.JsonResult CounterDetails(string sd, string ed, int cc, int cn)
        {
            var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.CounterDetails);

            callInfo.RouteValueDictionary.Add("sd", sd);
            callInfo.RouteValueDictionary.Add("ed", ed);
            callInfo.RouteValueDictionary.Add("cc", cc);
            callInfo.RouteValueDictionary.Add("cn", cn);
            return(callInfo);
        }
 public override System.Web.Mvc.JsonResult UserStatusChange(System.Guid id, bool isOnline) {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.UserStatusChange);
     callInfo.RouteValueDictionary.Add("id", id);
     callInfo.RouteValueDictionary.Add("isOnline", isOnline);
     return callInfo;
 }
 public override System.Web.Mvc.JsonResult Totals() {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.Totals);
     return callInfo;
 }
 public override System.Web.Mvc.JsonResult Put(UCosmic.Www.Mvc.Areas.Preferences.Models.MyPreference model) {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.Put);
     ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model);
     return callInfo;
 }
 public override System.Web.Mvc.JsonResult AgreementContactTypeOptions() {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.AgreementContactTypeOptions);
     return callInfo;
 }
 public override System.Web.Mvc.JsonResult AddSong(long playlistId, string songName, string videoId, short newRatingValue, string songImage, string songArtist, double? songDuration) {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.AddSong);
     callInfo.RouteValueDictionary.Add("playlistId", playlistId);
     callInfo.RouteValueDictionary.Add("songName", songName);
     callInfo.RouteValueDictionary.Add("videoId", videoId);
     callInfo.RouteValueDictionary.Add("newRatingValue", newRatingValue);
     callInfo.RouteValueDictionary.Add("songImage", songImage);
     callInfo.RouteValueDictionary.Add("songArtist", songArtist);
     callInfo.RouteValueDictionary.Add("songDuration", songDuration);
     return callInfo;
 }
 public override System.Web.Mvc.JsonResult Synchronize() {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.Synchronize);
     return callInfo;
 }
 public override System.Web.Mvc.JsonResult ByEmail(string email) {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.ByEmail);
     ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "email", email);
     return callInfo;
 }
 public override System.Web.Mvc.JsonResult GetActivityStream(long playlistId, Kululu.Entities.ActivityType type, long? userId, System.DateTime? startStreamDate, int numOfActivities) {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.GetActivityStream);
     callInfo.RouteValueDictionary.Add("playlistId", playlistId);
     callInfo.RouteValueDictionary.Add("type", type);
     callInfo.RouteValueDictionary.Add("userId", userId);
     callInfo.RouteValueDictionary.Add("startStreamDate", startStreamDate);
     callInfo.RouteValueDictionary.Add("numOfActivities", numOfActivities);
     return callInfo;
 }
 public override System.Web.Mvc.JsonResult UpdateSong(long playlistId, long playlistSongRatingId, string songName, string artistName, string imageUrl) {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.UpdateSong);
     callInfo.RouteValueDictionary.Add("playlistId", playlistId);
     callInfo.RouteValueDictionary.Add("playlistSongRatingId", playlistSongRatingId);
     callInfo.RouteValueDictionary.Add("songName", songName);
     callInfo.RouteValueDictionary.Add("artistName", artistName);
     callInfo.RouteValueDictionary.Add("imageUrl", imageUrl);
     return callInfo;
 }
 public override System.Web.Mvc.JsonResult GetDetails(long playlistId) {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.GetDetails);
     callInfo.RouteValueDictionary.Add("playlistId", playlistId);
     return callInfo;
 }
 public override System.Web.Mvc.JsonResult DetachSong(Kululu.Entities.Playlist playlist, long playlistSongRatingId) {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.DetachSong);
     callInfo.RouteValueDictionary.Add("playlist", playlist);
     callInfo.RouteValueDictionary.Add("playlistSongRatingId", playlistSongRatingId);
     return callInfo;
 }
 public override System.Web.Mvc.JsonResult DeleteSong(long playlistId, long playlistSongRatingId) {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.DeleteSong);
     callInfo.RouteValueDictionary.Add("playlistId", playlistId);
     callInfo.RouteValueDictionary.Add("playlistSongRatingId", playlistSongRatingId);
     return callInfo;
 }
 public override System.Web.Mvc.JsonResult ActionOnAll(bool everyOneOnline) {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.ActionOnAll);
     callInfo.RouteValueDictionary.Add("everyOneOnline", everyOneOnline);
     return callInfo;
 }
 public override System.Web.Mvc.JsonResult Create(MBlog.Models.Media.NewMediaViewModel model) {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.Create);
     callInfo.RouteValueDictionary.Add("model", model);
     return callInfo;
 }
 public override System.Web.Mvc.JsonResult GetImportStatus() {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.GetImportStatus);
     return callInfo;
 }
 public override System.Web.Mvc.JsonResult GetThings(int radius, double latitude, double longitude) {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.GetThings);
     ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "radius", radius);
     ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "latitude", latitude);
     ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "longitude", longitude);
     return callInfo;
 }
 public override System.Web.Mvc.JsonResult WithLastName(string term, UCosmic.Domain.StringMatchStrategy matchStrategy) {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.WithLastName);
     ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "term", term);
     ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "matchStrategy", matchStrategy);
     return callInfo;
 }
 public override System.Web.Mvc.JsonResult GetImportLikesComplete() {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.GetImportLikesComplete);
     return callInfo;
 }
 public override System.Web.Mvc.JsonResult AutoCompleteKeyword(string establishmentUrl, string term) {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.AutoCompleteKeyword);
     ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "establishmentUrl", establishmentUrl);
     ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "term", term);
     return callInfo;
 }
 public override System.Web.Mvc.JsonResult Import(long localBusinessId, short type) {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.Import);
     callInfo.RouteValueDictionary.Add("localBusinessId", localBusinessId);
     callInfo.RouteValueDictionary.Add("type", type);
     return callInfo;
 }
 public override System.Web.Mvc.JsonResult SomeJsonResultAction() {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.SomeJsonResultAction);
     return callInfo;
 }
 public override System.Web.Mvc.JsonResult ValidateDuplicateOption(string name, System.Collections.Generic.List<string> values) {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.ValidateDuplicateOption);
     ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "name", name);
     ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "values", values);
     return callInfo;
 }
 public override System.Web.Mvc.JsonResult ValidateValue(UCosmic.Www.Mvc.Areas.Identity.Models.UpdateEmailValueForm model) {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.ValidateValue);
     ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model);
     return callInfo;
 }
 public override System.Web.Mvc.JsonResult ByGuid(System.Guid guid) {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.ByGuid);
     ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "guid", guid);
     return callInfo;
 }
 public override System.Web.Mvc.JsonResult GetSongs(long localBussinesId, long? playlistId, short startCount, short increment, Kululu.Entities.Common.SortOptions sort, bool descending, long referringPlaylistSongRatingId) {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.GetSongs);
     callInfo.RouteValueDictionary.Add("localBussinesId", localBussinesId);
     callInfo.RouteValueDictionary.Add("playlistId", playlistId);
     callInfo.RouteValueDictionary.Add("startCount", startCount);
     callInfo.RouteValueDictionary.Add("increment", increment);
     callInfo.RouteValueDictionary.Add("sort", sort);
     callInfo.RouteValueDictionary.Add("descending", descending);
     callInfo.RouteValueDictionary.Add("referringPlaylistSongRatingId", referringPlaylistSongRatingId);
     return callInfo;
 }
 public override System.Web.Mvc.JsonResult JobsApplied(string userId, int applyCount) {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.JobsApplied);
     callInfo.RouteValueDictionary.Add("userId", userId);
     callInfo.RouteValueDictionary.Add("applyCount", applyCount);
     return callInfo;
 }
 public override System.Web.Mvc.JsonResult QuerySongs(long playlistId, string queryStr) {
     var callInfo = new T4MVC_JsonResult(Area, Name, ActionNames.QuerySongs);
     callInfo.RouteValueDictionary.Add("playlistId", playlistId);
     callInfo.RouteValueDictionary.Add("queryStr", queryStr);
     return callInfo;
 }