Large diffs are not rendered by default.

@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="602fca20-ec7e-411f-bd99-136beff71e0b" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap">
<ClientOptions>
<GenerateAsynchronousMethods>false</GenerateAsynchronousMethods>
<GenerateTaskBasedAsynchronousMethod>true</GenerateTaskBasedAsynchronousMethod>
<EnableDataBinding>true</EnableDataBinding>
<ExcludedTypes />
<ImportXmlTypes>false</ImportXmlTypes>
<GenerateInternalTypes>false</GenerateInternalTypes>
<GenerateMessageContracts>false</GenerateMessageContracts>
<NamespaceMappings />
<CollectionMappings />
<GenerateSerializableTypes>true</GenerateSerializableTypes>
<Serializer>Auto</Serializer>
<UseSerializerForFaults>true</UseSerializerForFaults>
<ReferenceAllAssemblies>true</ReferenceAllAssemblies>
<ReferencedAssemblies />
<ReferencedDataContractTypes />
<ServiceContractMappings />
</ClientOptions>
<MetadataSources>
<MetadataSource Address="https://localhost:8716/" Protocol="http" SourceId="1" />
</MetadataSources>
<Metadata>
<MetadataFile FileName="item.xsd" MetadataType="Schema" ID="b6604a0e-41e4-4fa0-b176-ca1bfdaab651" SourceId="1" SourceUrl="https://localhost:8716/?xsd=xsd0" />
<MetadataFile FileName="item1.xsd" MetadataType="Schema" ID="510e25e8-409c-4760-9640-9f74162b4c26" SourceId="1" SourceUrl="https://localhost:8716/?xsd=xsd2" />
<MetadataFile FileName="item.disco" MetadataType="Disco" ID="9f3e1fff-223d-4978-8cf2-086d96204023" SourceId="1" SourceUrl="https://localhost:8716/?disco" />
<MetadataFile FileName="item2.xsd" MetadataType="Schema" ID="c756ea74-3891-403f-9ceb-551e6799d6e4" SourceId="1" SourceUrl="https://localhost:8716/?xsd=xsd1" />
<MetadataFile FileName="BookingService.wsdl" MetadataType="Wsdl" ID="6ab67f73-d15c-4853-b972-ce2ebeb92bb4" SourceId="1" SourceUrl="https://localhost:8716/?wsdl" />
</Metadata>
<Extensions>
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
<ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" />
</Extensions>
</ReferenceGroup>
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot">
<behaviors />
<bindings>
<binding digest="System.ServiceModel.Configuration.WSHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data name=&quot;WSHttpBinding_IBookingService&quot;&gt;&lt;security mode=&quot;Transport&quot;&gt;&lt;transport clientCredentialType=&quot;None&quot; /&gt;&lt;/security&gt;&lt;/Data&gt;" bindingType="wsHttpBinding" name="WSHttpBinding_IBookingService" />
</bindings>
<endpoints>
<endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;https://localhost:8716/&quot; binding=&quot;wsHttpBinding&quot; bindingConfiguration=&quot;WSHttpBinding_IBookingService&quot; contract=&quot;BookingService.IBookingService&quot; name=&quot;WSHttpBinding_IBookingService&quot;&gt;&lt;identity&gt;&lt;dns value=&quot;localhost&quot; /&gt;&lt;/identity&gt;&lt;/Data&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;https://localhost:8716/&quot; binding=&quot;wsHttpBinding&quot; bindingConfiguration=&quot;WSHttpBinding_IBookingService&quot; contract=&quot;BookingService.IBookingService&quot; name=&quot;WSHttpBinding_IBookingService&quot;&gt;&lt;identity&gt;&lt;dns value=&quot;localhost&quot; /&gt;&lt;/identity&gt;&lt;/Data&gt;" contractName="BookingService.IBookingService" name="WSHttpBinding_IBookingService" />
</endpoints>
</configurationSnapshot>

Large diffs are not rendered by default.

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/">
<contractRef ref="https://localhost:8716/?wsdl" docRef="https://localhost:8716/" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
</discovery>
@@ -0,0 +1,173 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import schemaLocation="https://localhost:8716/?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/ModelLayer" />
<xs:element name="CreateBooking">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/ModelLayer" minOccurs="0" name="booking" nillable="true" type="q1:Booking" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CreateBookingResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="CreateBookingResult" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetBooking">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="id" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetBookingResponse">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/ModelLayer" minOccurs="0" name="GetBookingResult" nillable="true" type="q2:Booking" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetAllBooking">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="meetingId" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetAllBookingResponse">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/ModelLayer" minOccurs="0" name="GetAllBookingResult" nillable="true" type="q3:ArrayOfBooking" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UpdateBooking">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/ModelLayer" minOccurs="0" name="booking" nillable="true" type="q4:Booking" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UpdateBookingResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="UpdateBookingResult" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CreateMeeting">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q5="http://schemas.datacontract.org/2004/07/ModelLayer" minOccurs="0" name="meeting" nillable="true" type="q5:Meeting" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CreateMeetingResponse">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q6="http://schemas.datacontract.org/2004/07/ModelLayer" minOccurs="0" name="CreateMeetingResult" nillable="true" type="q6:Meeting" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetMeeting">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="id" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetMeetingResponse">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q7="http://schemas.datacontract.org/2004/07/ModelLayer" minOccurs="0" name="GetMeetingResult" nillable="true" type="q7:Meeting" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DeleteMeeting">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q8="http://schemas.datacontract.org/2004/07/ModelLayer" minOccurs="0" name="meeting" nillable="true" type="q8:Meeting" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DeleteMeetingResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="DeleteMeetingResult" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UpdateMeeting">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q9="http://schemas.datacontract.org/2004/07/ModelLayer" minOccurs="0" name="meeting" nillable="true" type="q9:Meeting" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UpdateMeetingResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="UpdateMeetingResult" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CreateSession">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q10="http://schemas.datacontract.org/2004/07/ModelLayer" minOccurs="0" name="session" nillable="true" type="q10:Session" />
<xs:element xmlns:q11="http://schemas.datacontract.org/2004/07/ModelLayer" minOccurs="0" name="booking" nillable="true" type="q11:Booking" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CreateSessionResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="CreateSessionResult" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetSession">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="id" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetSessionResponse">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q12="http://schemas.datacontract.org/2004/07/ModelLayer" minOccurs="0" name="GetSessionResult" nillable="true" type="q12:Session" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetAllSession">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="id" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetAllSessionResponse">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q13="http://schemas.datacontract.org/2004/07/ModelLayer" minOccurs="0" name="GetAllSessionResult" nillable="true" type="q13:ArrayOfSession" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DeleteSession">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q14="http://schemas.datacontract.org/2004/07/ModelLayer" minOccurs="0" name="session" nillable="true" type="q14:Session" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DeleteSessionResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="DeleteSessionResult" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/ModelLayer" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/ModelLayer" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="Booking">
<xs:sequence>
<xs:element minOccurs="0" name="EndDateAndTime" type="xs:dateTime" />
<xs:element minOccurs="0" name="Id" type="xs:int" />
<xs:element minOccurs="0" name="InterviewAmount" type="xs:int" />
<xs:element minOccurs="0" name="MeetingId" type="xs:int" />
<xs:element minOccurs="0" name="StartDateAndTime" type="xs:dateTime" />
<xs:element minOccurs="0" name="sessionList" nillable="true" type="tns:ArrayOfSession" />
</xs:sequence>
</xs:complexType>
<xs:element name="Booking" nillable="true" type="tns:Booking" />
<xs:complexType name="ArrayOfSession">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="Session" nillable="true" type="tns:Session" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfSession" nillable="true" type="tns:ArrayOfSession" />
<xs:complexType name="Session">
<xs:sequence>
<xs:element minOccurs="0" name="ApplierId" type="xs:int" />
<xs:element minOccurs="0" name="BookingId" type="xs:int" />
<xs:element minOccurs="0" name="EndTime" type="xs:dateTime" />
<xs:element minOccurs="0" name="Id" type="xs:int" />
<xs:element minOccurs="0" name="StartTime" type="xs:dateTime" />
</xs:sequence>
</xs:complexType>
<xs:element name="Session" nillable="true" type="tns:Session" />
<xs:complexType name="ArrayOfBooking">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="Booking" nillable="true" type="tns:Booking" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfBooking" nillable="true" type="tns:ArrayOfBooking" />
<xs:complexType name="Meeting">
<xs:sequence>
<xs:element minOccurs="0" name="CompanyId" type="xs:int" />
<xs:element minOccurs="0" name="Id" type="xs:int" />
<xs:element minOccurs="0" name="booking" nillable="true" type="tns:ArrayOfBooking" />
</xs:sequence>
</xs:complexType>
<xs:element name="Meeting" nillable="true" type="tns:Meeting" />
</xs:schema>
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="anyType" nillable="true" type="xs:anyType" />
<xs:element name="anyURI" nillable="true" type="xs:anyURI" />
<xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
<xs:element name="boolean" nillable="true" type="xs:boolean" />
<xs:element name="byte" nillable="true" type="xs:byte" />
<xs:element name="dateTime" nillable="true" type="xs:dateTime" />
<xs:element name="decimal" nillable="true" type="xs:decimal" />
<xs:element name="double" nillable="true" type="xs:double" />
<xs:element name="float" nillable="true" type="xs:float" />
<xs:element name="int" nillable="true" type="xs:int" />
<xs:element name="long" nillable="true" type="xs:long" />
<xs:element name="QName" nillable="true" type="xs:QName" />
<xs:element name="short" nillable="true" type="xs:short" />
<xs:element name="string" nillable="true" type="xs:string" />
<xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
<xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
<xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
<xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
<xs:element name="char" nillable="true" type="tns:char" />
<xs:simpleType name="char">
<xs:restriction base="xs:int" />
</xs:simpleType>
<xs:element name="duration" nillable="true" type="tns:duration" />
<xs:simpleType name="duration">
<xs:restriction base="xs:duration">
<xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
<xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
<xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
</xs:restriction>
</xs:simpleType>
<xs:element name="guid" nillable="true" type="tns:guid" />
<xs:simpleType name="guid">
<xs:restriction base="xs:string">
<xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
</xs:restriction>
</xs:simpleType>
<xs:attribute name="FactoryType" type="xs:QName" />
<xs:attribute name="Id" type="xs:ID" />
<xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>
@@ -1,5 +1,6 @@
using JobMe_Homepage.ApplierServiceReference;
using JobMe_Homepage.CompanyServiceReference;
using JobMe_Homepage.BookingService;
using JobMe_Homepage.Models;
using System;
using System.Collections.Concurrent;
@@ -16,6 +17,9 @@ public class CompanyController : Controller
JobPostServiceReference.JobPostServiceClient jobClient = new JobPostServiceReference.JobPostServiceClient();
JobApplicationServiceReference.JobApplicationServiceClient jobApplicationService = new JobApplicationServiceReference.JobApplicationServiceClient();
ApplierServiceClient applierServiceClient = new ApplierServiceClient();
BookingServiceClient BookingServiceCLient = new BookingServiceClient();


// GET: Company
public ActionResult Index()
{
@@ -28,7 +32,7 @@ public ActionResult Index()
{
Company = company,
JobPost = job

};

return View(vMCompanyANDJobPost);
@@ -85,10 +89,11 @@ public ActionResult CreateJobPost()
[HttpPost]
public ActionResult CreateJobPost(string Title, string Description, DateTime StartDate, DateTime EndDate, string JobTitle, int WorkHours, string Address, Company Company, int JobCategory)
{
WorkHours workHours = new WorkHours { Id = WorkHours };
CompanyServiceReference.JobCategory jobCategory = new CompanyServiceReference.JobCategory { Id = JobCategory };
Company company = Session["company"] as Company;
JobPost jobPost = new JobPost

JobPostServiceReference.WorkHours workHours = new JobPostServiceReference.WorkHours { Id = WorkHours };
JobPostServiceReference.JobCategory jobCategory = new JobPostServiceReference.JobCategory { Id = JobCategory };
JobPostServiceReference.Company company = Session["company"] as JobPostServiceReference.Company;
JobPostServiceReference.JobPost jobPost = new JobPostServiceReference.JobPost
{
Title = Title,
Description = Description,
@@ -99,10 +104,11 @@ public ActionResult CreateJobPost(string Title, string Description, DateTime Sta
Address = Address,
company = company,
jobCategory = jobCategory

};
try
{
client.CreateJobPost(jobPost);
jobClient.CreateJobPost(jobPost);
return RedirectToAction("Index");
}
catch (Exception)
@@ -125,22 +131,22 @@ public ActionResult _Login(string email, string password)
Company company = client.Login(email, password);

// Creates sessions for company login




if (company != null)
{

Session["company"] = company;
return RedirectToAction("Index");
return RedirectToAction("Index");

}
TempData["FailCompany"] = "Fail";
return RedirectToAction("Index", "Home");



}

public ActionResult _CurrentCompany()
@@ -165,7 +171,7 @@ public ActionResult AppliersForJob(int id)
};
VMJobPostJobApplication vMJobPostJobApplication = new VMJobPostJobApplication
{
jobPost = jobPost,
jobPost = jobPost,
JobApplicationList = jobApplicationService.GetAllJobApplicationToAJobPost(id).ToList()
};

@@ -201,11 +207,11 @@ public ActionResult AppliersForJob(int jobApplicationId, int jobPostId, int acce
{
accept = true;
}

jobApplicationService.AcceptDeclineJobApplication(jobApplication, jobPost, accept);
return RedirectToAction("");
}
public ActionResult _JobApplication()
public ActionResult _JobApplication()
{
JobApplicationServiceReference.JobApplication jobApplication = new JobApplicationServiceReference.JobApplication();
return PartialView(jobApplication);
@@ -216,11 +222,11 @@ public ActionResult _JobCV()
JobCV jobCV = new JobCV();
return PartialView(jobCV);
}


public ActionResult Accept()
{

return RedirectToAction("ApplierForJob");
}

@@ -238,6 +244,30 @@ public ActionResult Meeting()
}


[HttpPost]
public ActionResult CreateBooking(string meetingDate, string startTime, string endTime, int amountOfInterview, Meeting meeting)
{
//Create a new booking object and set the needed variables
Booking booking = new Booking();

booking.StartDateAndTime = Convert.ToDateTime(meetingDate +" " + startTime +":00.000");
booking.EndDateAndTime = Convert.ToDateTime(meetingDate + " " + endTime + ":00.000");
//booking.MeetingId = meeting.Id;
booking.MeetingId = 6;
booking.InterviewAmount = amountOfInterview;

//Call the client´s create method that retusrns a bool
bool returned = BookingServiceCLient.CreateBooking(booking);

if (returned == true)
{
return RedirectToAction("Meeting");
}
else {
return null;
}
}

#endregion

}
@@ -152,6 +152,11 @@
<DesignTime>True</DesignTime>
<DependentUpon>Reference.svcmap</DependentUpon>
</Compile>
<Compile Include="Connected Services\BookingService\Reference.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Reference.svcmap</DependentUpon>
</Compile>
<Compile Include="Connected Services\CompanyServiceReference\Reference.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
@@ -201,8 +206,34 @@
<None Include="Connected Services\ApplierServiceReference\service21.xsd">
<SubType>Designer</SubType>
</None>
<None Include="Connected Services\BookingService\BookingService.wsdl" />
<None Include="Connected Services\BookingService\item.xsd">
<SubType>Designer</SubType>
</None>
<None Include="Connected Services\BookingService\item1.xsd">
<SubType>Designer</SubType>
</None>
<None Include="Connected Services\BookingService\item2.xsd">
<SubType>Designer</SubType>
</None>
<Content Include="Connected Services\BookingService\JobMe_Homepage.BookingService.Booking.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</Content>
<Content Include="Connected Services\BookingService\JobMe_Homepage.BookingService.Meeting.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</Content>
<Content Include="Connected Services\BookingService\JobMe_Homepage.BookingService.Session.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</Content>
<None Include="Connected Services\CompanyServiceReference\configuration91.svcinfo" />
<None Include="Connected Services\CompanyServiceReference\configuration.svcinfo" />
<None Include="Connected Services\BookingService\item.disco" />
<None Include="Connected Services\BookingService\configuration91.svcinfo" />
<None Include="Connected Services\BookingService\configuration.svcinfo" />
<None Include="Connected Services\BookingService\Reference.svcmap">
<Generator>WCF Proxy Generator</Generator>
<LastGenOutput>Reference.cs</LastGenOutput>
</None>
<Content Include="Connected Services\CompanyServiceReference\JobMe_Homepage.CompanyServiceReference.Company.datasource">
<DependentUpon>Reference.svcmap</DependentUpon>
</Content>
@@ -389,6 +420,7 @@
</ItemGroup>
<ItemGroup>
<WCFMetadataStorage Include="Connected Services\ApplierServiceReference\" />
<WCFMetadataStorage Include="Connected Services\BookingService\" />
<WCFMetadataStorage Include="Connected Services\CompanyServiceReference\" />
<WCFMetadataStorage Include="Connected Services\JobApplicationServiceReference\" />
<WCFMetadataStorage Include="Connected Services\JobPostServiceReference\" />
@@ -1,5 +1,5 @@

using JobMe_Homepage.CompanyServiceReference;
using JobMe_Homepage.JobPostServiceReference;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -18,22 +18,25 @@
</div>
<div class="row" id="marginTopMeeting">
<div class="col-sm-8">
<form method="post" action="CreateBooking">
<input type="date" class="form-control" id="datePickerMeeting" name="meetingDate" min="@DateTime.Now.ToString("yyyy-MM-dd")" required/>
<input class="form-control" id="timePickerMeeting" type="time" name="startTime" required />
<input class="form-control" id="timePickerMeeting" type="time" name="endTime" required />
<!--<input class="form-control" id="amountIfInterviewsMeeting" type="number" required />-->
<select class="form-control" id="amountIfInterviewsMeeting" id="sel1">
<select name="amountOfInterview" class="form-control" id="amountIfInterviewsMeeting">
@{
int numberOfInterviewInOneDay = 20;
for (int i = 1; i <= numberOfInterviewInOneDay; i++)
{
<option>@i</option>
<option value="@i">@i</option>
}
}
</select>
</div>
<div class="col-sm-4">
<button type="button" id="addNewBookingMeeting" class="btn btn-blue" >Tilføj ny booking</button>
<button type="submit" id="addNewBookingMeeting" class="btn btn-blue" >Tilføj ny booking</button>
</form>

</div>
</div>
<div class="seperatorMeeting"></div>
@@ -79,18 +79,19 @@
<message clientCredentialType="Windows" />
</security>
</binding>
<binding name="WSHttpBinding_IJobApplicationService" maxReceivedMessageSize="20000000" maxBufferPoolSize="20000000">
<binding name="WSHttpBinding_IJobApplicationService" maxBufferPoolSize="20000000"
maxReceivedMessageSize="20000000">
<security mode="Transport">
<transport clientCredentialType="None" />
<message clientCredentialType="Windows" />
</security>
</binding>
<binding name="WSHttpBinding_IBookingService">
<security mode="Transport">
<transport clientCredentialType="None" />
</security>
</binding>
</wsHttpBinding>





</bindings>
<client>
<endpoint address="https://localhost:8710/CompanyService" binding="wsHttpBinding"
@@ -117,7 +118,14 @@
<endpoint address="https://localhost:8714/JobApplicationServer"
binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IJobApplicationService"
contract="JobApplicationServiceReference.IJobApplicationService"
name="WSHttpBinding_IJobApplicationService" >
name="WSHttpBinding_IJobApplicationService">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
<endpoint address="https://localhost:8716/" binding="wsHttpBinding"
bindingConfiguration="WSHttpBinding_IBookingService" contract="BookingService.IBookingService"
name="WSHttpBinding_IBookingService">
<identity>
<dns value="localhost" />
</identity>