I am calling my database which contains a datetime datatype. The date looks like this:  2005-05-23 16:06:00.000  I would like to display this in a table when a user selects a certain item from a list. I call my controller action and return Json of al...
I have an object in the below format and I need to get all values from the Price property at all levels of the object.  var o = {     Id: 1,     Price: 10,     Attribute: {         Id: 1,         Price: 2,         Modifier: {             Id: 34,...
I have this sample documents    {   "_id" : ObjectId("549452820d56c14be9473f30"),   "company" : "google",   "customers" : [{       "cart" : "34323",       "logins" : [{           "Id...
I have a object with 2 nested objects. they are both a array of arrays. I need to join the values of both into a comma separated string. Javascript, jquery or linqjs will be fine. I got a start on it but I am stuck. here is a plunker plunker  I need...
I know this question is similar to others but they have not provided me with an answer so far. I have an array of numbers in javascript which i pass back to my controller, Each number is an id for an object in the db which i will pull out and load in...
I have a working login page that I coded using both the Entity Framework with JS + jQuery (for validation). The thing is that the code takes a very long time load (45 secs max), I think it's because of the script, my question is, is there a way o...
Short question: How to groupby on two keys by using linq-es2015 in an Angular app?  One key works well, but I got no idea how to add another key.  var results = asEnumerable(fieldtoregion)       .GroupBy(x => x.regionId, x => x, (key, b) =>...
Looking at the MDN definition of Array.prototype.find(), I was wondering if there is another javascript method to return the first object from an array based on a predicate, that also works on older browsers.   I am aware of 3rd party libraries such...
public IEnumerable<NotificationDto> GetNewNotifications() {     var userId = User.Identity.GetUserId();     var notifications = _context.UserNotifications          .Where(un => un.UserId == userId)          .Select(un => un.Notification)...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.