public static string GetDeleteLandownerCostShareLineItemUrl(this GrantAllocationAwardLandownerCostShareLineItem landownerCostShareLineItem) { return(DeleteUrlTemplate.ParameterReplace(landownerCostShareLineItem.GrantAllocationAwardLandownerCostShareLineItemID)); }
public TreatmentGroup(GrantAllocationAwardLandownerCostShareLineItem grantAllocationAwardLandownerCostShareLineItem) { Treatments = grantAllocationAwardLandownerCostShareLineItem.Treatments.ToList(); GrantAllocationAwardLandownerCostShareLineItem = grantAllocationAwardLandownerCostShareLineItem; }
public static void DeleteGrantAllocationAwardLandownerCostShareLineItem(this IQueryable <GrantAllocationAwardLandownerCostShareLineItem> grantAllocationAwardLandownerCostShareLineItems, GrantAllocationAwardLandownerCostShareLineItem grantAllocationAwardLandownerCostShareLineItemToDelete) { DeleteGrantAllocationAwardLandownerCostShareLineItem(grantAllocationAwardLandownerCostShareLineItems, new List <GrantAllocationAwardLandownerCostShareLineItem> { grantAllocationAwardLandownerCostShareLineItemToDelete }); }