public SingleResult <StudentDetail> GetStudentDetail([FromODataUri] int key) { return(SingleResult.Create(db.StudentDetails.Where(studentDetail => studentDetail.StudentRef == key))); }
public SingleResult <SystemRole> Get([FromODataUri] Guid key) { return(SingleResult.Create(context.SystemRoles.Where(systemrole => systemrole.RoleID == key))); }
public SingleResult <mdProjectLogo> GetmdProjectLogo([FromODataUri] int key) { return(SingleResult.Create(db.mdProjectLogoes.Where(mdProjectLogo => mdProjectLogo.LogoID == key))); }
public SingleResult <ProductModel> GetProductModel([FromODataUri] int key) { return(SingleResult.Create(collection.AsQueryable <ProductModel>().Where(entity => entity.ProductModelID == key))); }
protected SingleResult <K> Get <K>(int key, Expression <Func <T, K> > selector) where K : GenericModel <int> { return(SingleResult.Create(this.service.GetAll(x => x.Id == key).Select(selector))); }
public SingleResult <MovieTicket> GetMovieTicket([FromODataUri] int key) { return(SingleResult.Create(db.MovieTickets.Where(movieTicket => movieTicket.MovieId == key))); }
public SingleResult <Formula> GetFormula([FromODataUri] Guid key) { return(SingleResult.Create(db.Formulae.Where(formula => formula.Id == key))); }
public SingleResult <ProgramChoice> Get([FromODataUri] int key) { IQueryable <ProgramChoice> result = context.ProgramChoices.Where(a => a.ProgramChoiceId == key); return(SingleResult.Create(result)); }
public SingleResult <T_SLUICE> GetT_SLUICE([FromODataUri] decimal key) { return(SingleResult.Create(db.T_SLUICE.Where(w => w.OBJECTID == key))); }
public SingleResult <EmployeeTerritory> GetEmployeeTerritory([FromODataUri] int keyEmployeeID, [FromODataUri] string keyTerritoryID) { var items = this.context.EmployeeTerritories.Where(i => i.EmployeeID == keyEmployeeID && i.TerritoryID == keyTerritoryID); return(SingleResult.Create(items)); }
public SingleResult <Order> GetOrder([FromODataUri] Int32 key) { return(SingleResult.Create(db.Orders.Where(order => order.OrderID == key))); }
public SingleResult <PoliceStation> Get([FromODataUri] int key) { IQueryable <PoliceStation> result = db.PoliceStations.Where(p => p.Id == key); return(SingleResult.Create(result)); }
public SingleResult <Blog> GetBlog(Guid key) { return(SingleResult.Create(_db.Blogs.Where(b => b.Id == key))); }
public SingleResult <Campaign> Get([FromODataUri] int key) { IQueryable <Campaign> result = db.Campaigns.Where(c => c.Id == key); return(SingleResult.Create(result)); }
public SingleResult <Offering> Get([FromODataUri] int key) { IQueryable <Offering> result = db.Offerings.Where(p => p.OfferingID == key); return(SingleResult.Create(result)); }
public SingleResult <TodoList> GetTodoList([FromODataUri] int key) { return(SingleResult.Create(db.TodoLists.Where(todolist => todolist.Id == key))); }
public SingleResult <Video> GetVideo([FromODataUri] int key) { return(SingleResult.Create(db.Videos.Where(video => video.Id == key))); }
public SingleResult <ChequeoFormulario> GetChequeoFormulario([FromODataUri] int key) { return(SingleResult.Create(db.ChequeoFormulario.Where(chequeoFormulario => chequeoFormulario.IdCheqeoF == key))); }
public SingleResult <Customers> GetCustomers([FromODataUri] string key) { return(SingleResult.Create(db.Customers.Where(customers => customers.CustomerID == key))); }
public SingleResult <Project> GetProject([FromODataUri] short key) { return(SingleResult.Create(db.Projects.Where(project => project.Id == key))); }
public SingleResult <CalculateParam> GetCalculateParam([FromODataUri] Guid key) { return(SingleResult.Create(db.Formulae.Where(m => m.Id == key).Select(m => m.CalculateParam))); }
public SingleResult <Player> GetPlayer([FromODataUri] int key) { return(SingleResult.Create(db.BattingScoreCards.Where(m => m.BattingScoreCardId == key).Select(m => m.Player))); }
protected SingleResult <T> Get(int key) { return(SingleResult.Create(this.service.GetAll(x => x.Id == key))); }
public SingleResult <BattingScoreCard> GetBattingScoreCard([FromODataUri] int key) { return(SingleResult.Create(db.BattingScoreCards.Where(battingScoreCard => battingScoreCard.BattingScoreCardId == key))); }
public SingleResult <Order> GetOrder(int key) { var items = this.context.Orders.Where(i => i.OrderID == key); return(SingleResult.Create(items)); }
public SingleResult <Category> GetCategory([FromODataUri] int key) { return(SingleResult.Create(db.Categories.Where(category => category.CategoryID == key))); }
public SingleResult <Usuario> GetUsuario([FromODataUri] int key) { return(SingleResult.Create(db.Usuarios.Where(usuario => usuario.Id == key))); }
public SingleResult <Customer> GetCustomer([FromODataUri] string key) { return(SingleResult.Create(_repo.GetById(key))); }
public SingleResult <Face> Get([FromODataUri] int ID) { IQueryable <Face> result = db.Faces.Where(p => p.ID == ID); return(SingleResult.Create(result)); }
public SingleResult <Person> GetPerson([FromODataUri] int key) { return(SingleResult.Create(db.People.Where(person => person.Id == key))); }