public List <object> GetAll() { return(new ActionProposedBLL().GetAllActionProposeds().Select(instance => ActionProposedModel.GetActionProposedObject(instance)).ToList()); }
public object Get(ActionProposedIDModel actionProposedIDModel) { var actionProposed = (ActionProposed)HttpContext.Current.Items["actionProposed"]; return(ActionProposedModel.GetActionProposedObject(actionProposed)); }