Hejza.
Her kommer der lige lidt kritik efter jeg Lavede en profil derinde.
Jeg fik følgende meddelse efter jeg søgte på "25 år":
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: source
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
[ArgumentNullException: Value cannot be null.
Parameter name: source]
System.Linq.Enumerable.ToList(IEnumerable`1 source) +1296529
Avando.Service.SearchService.GetSearchResult(String query, Nullable`1 gender, Nullable`1 minimumAge, Nullable`1 maximumAge, Nullable`1 onlyOnline, Nullable`1 cityRegionId, Nullable`1 relationship, Nullable`1 sexuality, Nullable`1 minimumHeight, Nullable`1 maximumHeight, Nullable`1 minimumWeight, Nullable`1 maximumWeight, Profile profile) in E:\Websites\Avando\Avando.Service\SearchService.cs:93
Avando.Web.Controllers.SearchController.Index(String query, Nullable`1 gender, Nullable`1 minimumAge, Nullable`1 maximumAge, Nullable`1 onlyOnline, Nullable`1 cityRegion, Nullable`1 relationship, Nullable`1 sexuality, Nullable`1 minimumHeight, Nullable`1 maximumHeight, Nullable`1 minimumWeight, Nullable`1 maximumWeight, Nullable`1 fromQueryForm) in E:\Websites\Avando\Avando.Web\Controllers\SearchController.cs:52
lambda_method(ExecutionScope , ControllerBase , Object[] ) +692
System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +236
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +31
System.Web.Mvc.<>c__DisplayClassa.<InvokeActionMethodWithFilters>b__7() +85
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +235443
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +288
System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +235622
System.Web.Mvc.Controller.ExecuteCore() +174
System.Web.Mvc.MvcHandler.ProcessRequest(HttpContextBase httpContext) +209
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +599
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171
|
Server Error in '/' Application.
Value cannot be null.
Parameter name: source
Noget jeg synes du skal smide oveni er søge kriterier. Det er fedt man bare kan skrive noget og så vupti så søger den. Men vil da også gerne have jeg kan klikke af jeg gerne vil se alle kvinder, 20 - 25 år, Blond, Høj udd. osv. At der er vil søge kriterer man kan gå igennem. Men elf lige nu er det lige meget for man skriver bare kvinde og så går man igennem alle 9 stk ;)
UDover det er det en super side og ja det er blevet gjort enkelt.
Men smid en chat på. Den vil give dig mange +++++