summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatthewsotoudeh <matthewsot@outlook.com>2015-04-26 11:33:00 -0700
committermatthewsotoudeh <matthewsot@outlook.com>2015-04-26 11:33:00 -0700
commit686778307601b2ca40eaa6d1c18b10a2769bb62d (patch)
tree89576bc5ce14a4281542c1a18233b336341960af
parent13fb814d375c15fa559209251a71fe43bd9edaab (diff)
removed unused CandidateAPIModels.cs
-rw-r--r--LHSCamp/LHSCamp/LHSCamp.csproj16
-rw-r--r--LHSCamp/LHSCamp/Models/AccountAPIModels.cs16
-rw-r--r--LHSCamp/LHSCamp/Models/CandidateAPIModels.cs16
3 files changed, 11 insertions, 37 deletions
diff --git a/LHSCamp/LHSCamp/LHSCamp.csproj b/LHSCamp/LHSCamp/LHSCamp.csproj
index 3d33d57..5703288 100644
--- a/LHSCamp/LHSCamp/LHSCamp.csproj
+++ b/LHSCamp/LHSCamp/LHSCamp.csproj
@@ -188,11 +188,9 @@
<Compile Include="Config.cs" />
<Compile Include="Controllers\AccountAPIController.cs" />
<Compile Include="Controllers\AccountController.cs" />
- <Compile Include="Controllers\CandidatesAPIController.cs" />
<Compile Include="Controllers\CandidatesController.cs" />
<Compile Include="Controllers\CreatePhotoController.cs" />
<Compile Include="Controllers\DefaultController.cs" />
- <Compile Include="Controllers\HomeController.cs" />
<Compile Include="Controllers\WelcomeController.cs" />
<Compile Include="Global.asax.cs">
<DependentUpon>Global.asax</DependentUpon>
@@ -253,7 +251,10 @@
<Compile Include="Models\AccountAPIModels.cs" />
<Compile Include="Models\AccountViewModels.cs" />
<Compile Include="Models\CandidateAPIModels.cs" />
+ <Compile Include="Models\CandidatesViewModel.cs" />
+ <Compile Include="Models\CandidateViewModel.cs" />
<Compile Include="Models\Database.cs" />
+ <Compile Include="Models\PositionViewModel.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Startup.cs" />
</ItemGroup>
@@ -360,18 +361,12 @@
<Content Include="Views\Shared\Error.cshtml" />
<Content Include="Views\Default\Index.cshtml" />
<Content Include="Content\Scripts\jQuery\jquery-1.10.2.min.map" />
- <Content Include="Views\Account\_ChangePasswordPartial.cshtml" />
- <Content Include="Views\Account\_RemoveAccountPartial.cshtml" />
- <Content Include="Views\Account\_SetPasswordPartial.cshtml" />
<Content Include="Views\Account\ConfirmUser.cshtml" />
<Content Include="Views\Account\Login.cshtml" />
- <Content Include="Views\Account\Manage.cshtml" />
<Content Include="Views\Account\Register.cshtml" />
- <Content Include="Views\Account\ResetPass.cshtml" />
<Content Include="Views\Shared\_LoginPartial.cshtml" />
- <Content Include="Views\Account\_ChangeEmailPartial.cshtml" />
<Content Include="Views\Shared\_HeroLayout.cshtml" />
- <Content Include="Views\Home\Index.cshtml" />
+ <Content Include="Views\Candidates\GetClass.cshtml" />
<Content Include="Views\Shared\_MainLayout.cshtml" />
<Content Include="Views\Welcome\Candidate.cshtml" />
<None Include="Properties\PublishProfiles\Default Settings.pubxml">
@@ -383,7 +378,7 @@
<Content Include="Error\UploadSize.html" />
<Content Include="Views\Account\ForgotPass.cshtml" />
<None Include="Properties\PublishProfiles\lhscampaign.com - Web Deploy.pubxml" />
- <Content Include="Views\Candidates\Get.cshtml" />
+ <Content Include="Views\Candidates\GetCandidate.cshtml" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Migrations\201402280046038_Init.resx">
@@ -434,6 +429,7 @@
</ItemGroup>
<ItemGroup>
<Folder Include="Content\Images\Candidates\" />
+ <Folder Include="Views\Home\" />
</ItemGroup>
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
diff --git a/LHSCamp/LHSCamp/Models/AccountAPIModels.cs b/LHSCamp/LHSCamp/Models/AccountAPIModels.cs
index e263af4..5156afa 100644
--- a/LHSCamp/LHSCamp/Models/AccountAPIModels.cs
+++ b/LHSCamp/LHSCamp/Models/AccountAPIModels.cs
@@ -4,33 +4,27 @@
{
public string username { get; set; }
}
- public class ResetPassModel
- {
- public string userId { get; set; }
- public string token { get; set; }
- public string password { get; set; }
- }
+
public class SetEmailModel
{
public string email { get; set; }
}
+
public class SetPositionModel
{
public string position { get; set; }
}
+
public class SetReasonsModel
{
public string reasons { get; set; }
}
+
public class SetSocialModel
{
public string facebook { get; set; }
}
- public class SetPassModel
- {
- public string currPass { get; set; }
- public string newPass { get; set; }
- }
+
public class RegisterModel
{
public string FullName { get; set; }
diff --git a/LHSCamp/LHSCamp/Models/CandidateAPIModels.cs b/LHSCamp/LHSCamp/Models/CandidateAPIModels.cs
deleted file mode 100644
index 14cf6ff..0000000
--- a/LHSCamp/LHSCamp/Models/CandidateAPIModels.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-namespace LHSCamp.Models
-{
- public class AddCandidateModel
- {
- public int id { get; set; }
- }
- public class CandidateAPIModel
- {
- public string id { get; set; }
- public string name { get; set; }
- public string position { get; set; }
- public string profilePic { get; set; }
- public string coverPhoto { get; set; }
- public bool chosen { get; set; }
- }
-} \ No newline at end of file
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback