C# Class DDL_CapstoneProject.Controllers.ApiControllers.ProjectApiController

Inheritance: DDL_CapstoneProject.Helper.BaseApiController
Show file Open project: sangnvus/2015FALLJS01

Public Methods

Method Description
GetProject ( int take, int from, string categoryid, string orderby, string searchkey, string status, string isExprired, string isFunded ) : IHttpActionResult
GetProjectByCategory ( ) : IHttpActionResult
GetProjectStatisticList ( ) : IHttpActionResult
GetProjectTop ( string categoryid ) : IHttpActionResult
GetStatisticListForHome ( ) : IHttpActionResult
getStatisticsInfor ( ) : IHttpActionResult

Private Methods

Method Description
AdminChangeProjectStatus ( ProjectEditDTO project ) : IHttpActionResult
AdminGetBackingDetail ( int backingId ) : IHttpActionResult
AdminGetDashboardInfo ( ) : IHttpActionResult
AdminGetListBacker ( string code ) : IHttpActionResult
AdminGetProjectComment ( string code, string lastDateTime = "" ) : IHttpActionResult
AdminGetProjectDetail ( string code ) : IHttpActionResult
AdminGetProjectGeneralInfo ( ) : IHttpActionResult
AdminGetProjectList ( ) : IHttpActionResult
AdminGetProjectStatistic ( int year ) : IHttpActionResult
AdminGetStatisticTable ( string option ) : IHttpActionResult
AdminGetTopProjectList ( ) : IHttpActionResult
AdminGetUpdateLogList ( string code ) : IHttpActionResult
BackProject ( DDL_CapstoneProject.Models.DTOs.ProjectBackDTO backingData ) : IHttpActionResult
Comment ( string projectCode, CommentDTO comment, string lastDateTime = "" ) : IHttpActionResult
CreateProject ( DDL_CapstoneProject.Models.DTOs.ProjectCreateDTO newProject ) : IHttpActionResult
CreateQuestion ( int id, DDL_CapstoneProject.Models.DTOs.QuestionDTO newQuestion ) : IHttpActionResult
CreateRewardPkg ( int id, RewardPkgDTO newRewardPkgs ) : IHttpActionResult
CreateTimeline ( int id ) : IHttpActionResult
CreateUpdateLog ( int id, DDL_CapstoneProject.Models.DTOs.UpdateLogDTO newUpdateLog ) : IHttpActionResult
DeleteComment ( int id ) : IHttpActionResult
DeleteProjectDraft ( int id ) : IHttpActionResult
DeleteProjectReminded ( int id ) : IHttpActionResult
DeleteQuestion ( int id ) : IHttpActionResult
DeleteRewardPkg ( int id ) : IHttpActionResult
DeleteTimeline ( int id ) : IHttpActionResult
DeleteUpdateLog ( int id ) : IHttpActionResult
EditComment ( int id, string content ) : IHttpActionResult
EditProject ( int ProjectID, ProjectEditDTO project ) : IHttpActionResult
EditProjectBasic ( ) : IHttpActionResult
EditProjectStory ( DDL_CapstoneProject.Models.DTOs.ProjectStoryDTO project ) : IHttpActionResult
EditQuestion ( List question ) : IHttpActionResult
EditRewardPkg ( RewardPkgDTO rewardPkg ) : IHttpActionResult
EditSingleQuestion ( DDL_CapstoneProject.Models.DTOs.QuestionDTO question ) : IHttpActionResult
EditSingleUpdateLog ( DDL_CapstoneProject.Models.DTOs.UpdateLogDTO updateLog ) : IHttpActionResult
EditUpdateLog ( List updateLog ) : IHttpActionResult
GetBackProjectInfo ( string code ) : IHttpActionResult
GetBackedProject ( ) : IHttpActionResult
GetBackedProjectHistory ( ) : IHttpActionResult
GetBackingDetail ( int backingId ) : IHttpActionResult
GetBackingInfo ( string projectCode ) : IHttpActionResult
GetCommentList ( string code, string lastDateTime = "" ) : IHttpActionResult
GetCreatedProject ( ) : IHttpActionResult
GetListBacker ( string code ) : IHttpActionResult
GetPendingProjectList ( ) : IHttpActionResult
GetProject ( int id ) : IHttpActionResult
GetProjectBasic ( string code ) : IHttpActionResult
GetProjectDetail ( string code ) : IHttpActionResult
GetProjectStory ( int id ) : IHttpActionResult
GetQuestion ( int id ) : IHttpActionResult
GetRewardPkg ( int id ) : IHttpActionResult
GetRewardPkgByCode ( string code ) : IHttpActionResult
GetStarredProject ( ) : IHttpActionResult
GetTimeLine ( int id ) : IHttpActionResult
GetUpdateLog ( int id ) : IHttpActionResult
GetUpdateLogList ( string code ) : IHttpActionResult
RemindProject ( string code ) : IHttpActionResult
SearchCount ( string categoryidlist, string searchkey, string statusString ) : IHttpActionResult
ShowHideComment ( int id ) : IHttpActionResult
SubmitProject ( ProjectEditDTO project ) : IHttpActionResult
UpdateTimeline ( ) : IHttpActionResult
projectTitleList ( string searchkey ) : IHttpActionResult

Method Details

GetProject() public method

public GetProject ( int take, int from, string categoryid, string orderby, string searchkey, string status, string isExprired, string isFunded ) : IHttpActionResult
take int
from int
categoryid string
orderby string
searchkey string
status string
isExprired string
isFunded string
return IHttpActionResult

GetProjectByCategory() public method

public GetProjectByCategory ( ) : IHttpActionResult
return IHttpActionResult

GetProjectStatisticList() public method

public GetProjectStatisticList ( ) : IHttpActionResult
return IHttpActionResult

GetProjectTop() public method

public GetProjectTop ( string categoryid ) : IHttpActionResult
categoryid string
return IHttpActionResult

GetStatisticListForHome() public method

public GetStatisticListForHome ( ) : IHttpActionResult
return IHttpActionResult

getStatisticsInfor() public method

public getStatisticsInfor ( ) : IHttpActionResult
return IHttpActionResult