public List <ShiftsEmployee> GetShiftsList()
    {
        List <ShiftsEmployee> tempShiftsALG = new List <ShiftsEmployee>();

        RikoshetWebService.RikoshetWebService t = new RikoshetWebService.RikoshetWebService();
        JavaScriptSerializer jsonSerializer     = new JavaScriptSerializer();

        tempShiftsALG = jsonSerializer.Deserialize <List <ShiftsEmployee> >(t.getShifts());
        return(tempShiftsALG);
    }
예제 #2
0
 public string getShiftsAlg()
 {
     RikoshetWebService.RikoshetWebService t = new RikoshetWebService.RikoshetWebService();
     return(t.getShifts());
 }