GIT: perform LF normalization

This commit is contained in:
Gary Sharp
2013-02-28 17:15:46 +11:00
parent 989f08a24d
commit 7d9be5620d
729 changed files with 300734 additions and 300712 deletions
@@ -1,27 +1,27 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Disco.Web.Areas.API.Models.DeviceModel
{
public class _ComponentModel
{
public int Id { get; set; }
public string Description { get; set; }
public string Cost { get; set; }
public List<string> JobSubTypes { get; set; }
public static _ComponentModel FromDeviceComponent(Disco.Models.Repository.DeviceComponent dc)
{
return new _ComponentModel
{
Id = dc.Id,
Description = dc.Description,
Cost = dc.Cost.ToString("C"),
JobSubTypes = dc.JobSubTypes.Select(j => string.Format("{0}_{1}", j.JobTypeId, j.Id)).ToList()
};
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Disco.Web.Areas.API.Models.DeviceModel
{
public class _ComponentModel
{
public int Id { get; set; }
public string Description { get; set; }
public string Cost { get; set; }
public List<string> JobSubTypes { get; set; }
public static _ComponentModel FromDeviceComponent(Disco.Models.Repository.DeviceComponent dc)
{
return new _ComponentModel
{
Id = dc.Id,
Description = dc.Description,
Cost = dc.Cost.ToString("C"),
JobSubTypes = dc.JobSubTypes.Select(j => string.Format("{0}_{1}", j.JobTypeId, j.Id)).ToList()
};
}
}
}