แก้ไขตาม feedback ในห้อง
This commit is contained in:
@@ -26,5 +26,20 @@ namespace TodoAPI2.Models
|
||||
|
||||
public int? create_evaluation_detail_id_eva_create_evaluation_detail_create_evaluation_id { get; set; }
|
||||
|
||||
public string mission_detail_with_enter { get { return replace_with_enter(mission_detail); } }
|
||||
|
||||
public string target_with_enter { get { return replace_with_enter(target); } }
|
||||
|
||||
public string indicators_with_enter { get { return replace_with_enter(indicators); } }
|
||||
|
||||
private string replace_with_enter(string data)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(data))
|
||||
{
|
||||
return data.Replace("\n", "<br/>");
|
||||
}
|
||||
return data;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user